flutter_webview_plugin icon indicating copy to clipboard operation
flutter_webview_plugin copied to clipboard

flutter_webview_plugin uses a deprecated version of the Android embedding.

Open vikayo-fincode opened this issue 3 years ago • 5 comments

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 avatar Feb 03 '22 12:02 vikayo-fincode

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

vikayo-fincode avatar Feb 03 '22 12:02 vikayo-fincode

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

jukka-palomaki avatar Feb 03 '22 12:02 jukka-palomaki

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

vikayo-fincode avatar Feb 04 '22 13:02 vikayo-fincode

any updates on this from the devs of this plugin?

ahadjithoma avatar Jul 11 '22 18:07 ahadjithoma

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

Bhagat8533 avatar Jul 17 '22 07:07 Bhagat8533