fluttercommunity / flutter_webview_plugin

Community WebView Plugin - Allows Flutter to communicate with a native WebView.

Home Page:https://pub.dev/packages/flutter_webview_plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

vaibhavrock opened this issue · 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?

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

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.

Change the shown plugins to alterrnative similar plugins or use latest

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

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

Try this in

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

Try this in

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

error gone,but reloadUrl not working..