flutter_webview_plugin icon indicating copy to clipboard operation
flutter_webview_plugin copied to clipboard

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

Open vaibhavrock opened this issue 4 years ago • 7 comments

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?

vaibhavrock avatar Aug 25 '21 07:08 vaibhavrock

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! :)

francomacri17 avatar Aug 26 '21 03:08 francomacri17

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.

darshakpranpariya avatar Sep 09 '21 07:09 darshakpranpariya

Change the shown plugins to alterrnative similar plugins or use latest

venky9885 avatar Sep 11 '21 04:09 venky9885

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

darshakpranpariya avatar Sep 11 '21 08:09 darshakpranpariya

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

aytunch avatar Sep 12 '21 19:09 aytunch

Try this in

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

kapil708 avatar Oct 20 '21 11:10 kapil708

Try this in

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

error gone,but reloadUrl not working..

tony123S avatar Feb 15 '22 07:02 tony123S