-
Notifications
You must be signed in to change notification settings - Fork 934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this plugin is deprecated and use plugin migration #960
Comments
i am also facing the same issue , please help me to get out of this error |
You can use one of forked branches that fixed this problem. One of them is mine: Like me, also others made same fix. Until a future merge, you can use forks typing (obviusly, indent code in the pubspec.yaml): Just change "GITHUB_FORK_URL" with the url you choose that implements the android V2 migration. |
@Antwen97 I try used to fork but it problem persist |
Which compiled and target SDK version you are using? |
build.gradle |
In the process of working on the Flutter app project, I applied this plugin, and I confirmed that this plugin is currently using an android v1 embedding method that has been discontinued. I forked the repository and completed the migration with an Android v2 embedding scheme, and I found my project no longer has relevant warnings. Of course, it works fine! If you guys are having the same problem as me, check my repository that completed the migration. How to apply it is very simple!
Please let me know if it doesn't apply or if an error occurs. |
|
Hi. I corrected the part that might be problematic in relation to what you said. |
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 a plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.
The text was updated successfully, but these errors were encountered: