fluttercommunity / flutter_webview_plugin

Community WebView Plugin - Allows Flutter to communicate with a native WebView.
https://pub.dev/packages/flutter_webview_plugin
Other
1.48k stars 930 forks source link

Unhandled Exception: MissingPluginException(No implementation found for method close on channel flutter_webview_plugin) #729

Open vijaydhakal opened 4 years ago

vijaydhakal commented 4 years ago

I have installed flutter_webview_plugin: ^0.3.11 in flutter application.And it is showing above error.

kato1628 commented 4 years ago

I have same issue. And I tried flutter clean and flutter run but the error is not resolved. Is there any solution?

flutter_webview_plugin 0.3.11
Flutter 1.12.13+hotfix.9
praisegeek commented 4 years ago

I also confirm that this issue is related to android only.

nuc134r commented 4 years ago

I had the same issue on flutter_webview_plugin 0.3.11 after update to Flutter 1.12.13+hotfix.9 from probably hotfix.5 or hotfix.7 and migrate to new Embedding/Plugin API using this guide. Not sure the exact version it worked before because I wasn't using Flutter since around Jan 2020. Basically I think I did what Flutter 1.12 flutter create does by default.

Seems like new plugin APIs broke this library and I messily added support for new APIs in a fork using the same guide. Might try to tidy it up and PR later but for now it solved this exact issue for me. You can try using it directly from git in pubspec.yaml:

dependencies:
  flutter_webview_plugin:
    git: https://github.com/nuc134r/flutter_webview_plugin.git
mark-zs commented 4 years ago

Thanks I tried that workaround but still get the same error Error: MissingPluginException(No implementation found for method close on channel flutter_webview_plugin). Any ideas anyone please?

ManojDvs commented 3 years ago

@mark-zs did you solve this error ?

ManojDvs commented 3 years ago

I also confirm that this issue is related to android only.

any luck ?

mark-zs commented 3 years ago

Sorry I implemented a workaround long ago with another plugin and never got back to test this.

On Wed, Nov 4, 2020 at 1:52 PM Manoj Dvs notifications@github.com wrote:

I also confirm that this issue is related to android only.

any luck ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fluttercommunity/flutter_webview_plugin/issues/729#issuecomment-721687547, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO5ED65UME2T6HDKLKHWFUDSOE57PANCNFSM4MSXIFJA .

shriyatechultranew commented 3 years ago

I solved it by adding flutter_webview_plugin: ^0.3.11 in my pubspec.yaml

zhangjk4859 commented 3 years ago

I also confirm that this issue is related to android only.

yep,android only, iOS works fine

zhangjk4859 commented 3 years ago

I also confirm that this issue is related to android only.

any luck ?

how about now dude,any luck?[cry to tears]

mohamoha6200 commented 3 years ago

Same problem here , plugin doesnt seem to be automatically/properly registered when we migrate to android embedding api V2 !!!

syg-eliseu commented 1 day ago

Anyone with a solution? I have this problem