-
Notifications
You must be signed in to change notification settings - Fork 34
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
The plugin esptouch_flutter
uses a deprecated version of the Android embedding
#19
Comments
I see this warning too. Any suggestions? |
Yes i am seeing this as well, maybe on the next update this can be upgraded to v2 embedding? |
Thank you for letting us know. I'm not sure when we'll have time to do the migration (and the testing required to make sure everything is still running correctly). Community contributions would be welcome. |
any update plan? |
@aminjoharinia as @vincevargadev pointed out there is no plan yet to upgrade and test it. |
Hello Vince, Regards |
I published a pre-release version on pub.dev https://pub.dev/packages/esptouch_flutter/versions/1.1.0-androidv2 Please give it a try, and let us know if anything is not working as it did before. If we don't receive any negative feedback, I'll release it as stable in a couple of weeks. |
Good news, thanks !!
Soon I will test on iOS. |
It works like a charm! I tested on iOS (16.0.2) and Android (9), the warning message disappeared. Also, I got a debug message like @SteMMo33. Thanks for the update! |
The plugin
esptouch_flutter
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.
The text was updated successfully, but these errors were encountered: