-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get a error when i execute 'controller.addJavaScriptHandler' #62
Comments
Does the app crash or is just a warning? You can set child: InAppWebView(
initialUrl: "https://flutter.io/",
initialOptions: {
"safeBrowsingEnabled": false
},
) Otherwise, you can try this: https://stackoverflow.com/a/55025029/4637638 |
App won't crash, just the webview doesn't appear. The solution I found myself is all about Thank you for your patience, because I have asked a lot of questions. |
@YouCii I think the same 👍 |
Unfortunately, it is different from what we think. It doesn't work😭. The console is still reporting the error of |
Can you give me more logs? I cannot reproduce this problem. Also, which version of Android are you using to test this? Maybe there is a problem with that |
Android Version is 8.0.0. And the IPhoneXR simulator with ios-12.1 has the same problem.
|
any progress? |
Happy news! Happy news! I successfully got the response from JS using the code you provided at #59 , even though it still report the error log. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue. |
The log
The text was updated successfully, but these errors were encountered: