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. #923

Open dongorias opened 2 years ago

dongorias 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.

dhcracchiolo commented 2 years ago

+1 getting very tired of this message

Slackgate commented 2 years ago

+1 same here

lbjlsy commented 2 years ago

+1 same here

rizwan3d commented 2 years ago

+1 same here

TesteurManiak commented 2 years ago

Same as https://github.com/fluttercommunity/flutter_webview_plugin/issues/921

lyf571321556 commented 2 years ago

+1

MahmoudIbrahim3 commented 2 years ago

+1

dgurudot commented 2 years ago

@lyf571321556 @rizwan3d @TesteurManiak @MahmoudIbrahim3 @Slackgate @dongorias @dhcracchiolo

Can you please resolve this issue while this package is getting merged with the official one?

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

I just tried and it seems this fork is not null safe. Getting static analysis errors at

import 'package:flutter_webview_plugin/flutter_webview_plugin.dart';

info: The library 'package:flutter_webview_plugin/flutter_webview_plugin.dart' is legacy, and should not be imported into a null safe library.

snoopdoggy322 commented 2 years ago

try it :

  flutter_webview_plugin:
    git: https://github.com/snoopdoggy322/flutter_webview_plugin