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` uses a deprecated version of the Android embedding #932

Open arif2k17 opened 2 years ago

arif2k17 commented 2 years ago

The plugin flutter_webview_plugin uses a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs. If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

salleh commented 2 years ago

Same issue with https://github.com/fluttercommunity/flutter_webview_plugin/issues/930

perhaps can merge these into one which is related to Android V2 embedding.

kapil708 commented 2 years ago

try this

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

@kapil708 - can you please share the null safe and latest GIT repo fork?

iamthejahid commented 2 years ago

any update ? facing same problem in one of my old project!

rsree1210 commented 2 years ago

Any update on this?

Jagadeesh09-dev commented 2 years ago

i am getting also same warning.. The pluginflutter_webview_pluginuses a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs. If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration

snoopdoggy322 commented 2 years ago

Duplicate of #921

mkbsugita commented 1 year ago

how to fix?