-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
MissingPluginException: No implementation found for method loadUrl #209
Comments
This is very strange. Try to clean the project! Can you share the code, please? |
I am also getting this error while trying to run controller.evaluateJavascript(source: "alert('HI');"); [VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: MissingPluginException(No implementation found for method evaluateJavascript on channel com.pichillilorenzo/flutter_inappwebview_0) |
After flutter clean, the app crashes upon executing controller.evaluateJavascript(source: "alert('HI');"); |
@ositano @jfeliubadalo check out this: flutter/flutter#10912
Take a look at my example:
They both contain |
I had the same problem, |
@konstantin-mohin Спасибо Костя! |
I use flutter_inappwebview 2.1.0+1. The same error occurred when performing a Hot restart with an iOS app. It didn't happen with Android apps. After an error, rebuilding worked as expected.
I commented out However, it seems that there is no flutter_inappwebview:
git:
url: [email protected]:pichillilorenzo/flutter_inappwebview.git
ref: '9c7ac0d' |
@pichillilorenzo your example is showing only for java, how to do this with kotlin. |
I am getting same error If I am hitting same url on second time |
"I have the same problem with the current version (I use InAppWebView). "flutter clean" "flutter run" doesn't help. The same problem occurs when calling the "reload" command." The problem was in our code. We did not work correctly with the widget graph. The widget is cool, thank you very much to the author! :) |
how can we dispose the web view |
Putting Await before loadurl solved my issue. |
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. |
When i call this method, throw this exception:
[VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: MissingPluginException(No implementation found for method loadUrl on channel com.pichillilorenzo/flutter_inappwebview_0)
#0 MethodChannel.invokeMethod
package:flutter/…/services/platform_channel.dart:314
#1 InAppWebViewController.loadUrl
package:flutter_inappbrowser/src/in_app_webview.dart:907
#2 _WebState._reloadPage
The text was updated successfully, but these errors were encountered: