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 929 forks source link

The plugin `flutter_webview_plugin` is built using an older version of the Android plugin API #918

Open vaibhavrock opened 3 years ago

vaibhavrock commented 3 years ago

Hi! Thank you for your good job. I try to use your plugin in the flutter module and have a warning above: The plugin flutter_webview_plugin is built using an older version of the Android plugin API which assumes that it's running in a full-Flutter environment. It may have undefined behaviors when Flutter is integrated into an existing app as a module. The plugin can be updated to the v2 Android Plugin APIs by following https://flutter.dev/go/android-plugin-migration. Can you do it upgrade?

francomacri17 commented 3 years ago

Hi, first, thanks for you good work too, I have the same problem that @vaibhavrock if you need more info or help only let me know! Thanks! :)

darshakpranpariya commented 3 years ago

I am getting this warning, image Might be this is the cause for me to fail the build. Please, anybody knows that how to fix this. P.S. :- I upgraded my flutter SDK to 2.5.0.

venky9885 commented 3 years ago

Change the shown plugins to alterrnative similar plugins or use latest

darshakpranpariya commented 3 years ago

It is the latest one, but still, they are not supporting android embedding v2. And that creates problems here.

aytunch commented 3 years ago

Is there a fix planned for this? Upgrading to the latest Flutter 2.5.0 displays this problem

kapil708 commented 2 years ago

Try this in

dependencies:
  flutter_webview_plugin:
    git: https://github.com/nuc134r/flutter_webview_plugin.git
tony123S commented 2 years ago

Try this in

dependencies:
  flutter_webview_plugin:
    git: https://github.com/nuc134r/flutter_webview_plugin.git

error gone,but reloadUrl not working..