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

flutter_webview_plugin uses a deprecated version of the Android embedding. #942

Open vikayo-fincode opened 2 years ago

vikayo-fincode commented 2 years ago

flutter_webview_plugin` uses a deprecated version of the Android embedding. To avoid unexpected runtime failures or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will remove these deprecated APIs.

vikayo-fincode commented 2 years ago

I am using this plugin in my app and it is important. How can I migrate it to Android V2.

jukka-palomaki commented 2 years ago

What I did earlier, I needed to downgrade flutter version to 2.2.3. Then Android V2 embedding problem will disappear. But of course it would be important to get the real fix to flutter_webview_plugin with the latest flutter version.

I remember reading earlier that there would be some hope that the official webview_flutter package would include the missing features from flutter_webview_plugin in future... Someone could contact the development team of webview_flutter. I do not need either if these packages right now but could need in the future...

vikayo-fincode commented 2 years ago

Thank you Jukka for your response, I will downgrade to 2.2.3

ahadjithoma commented 2 years ago

any updates on this from the devs of this plugin?

Bhagat8533 commented 2 years ago

You can use my repo - https://github.com/fluttercommunity/flutter_webview_plugin/issues/940#issuecomment-1186431094