flutter_appavailability
flutter_appavailability copied to clipboard
deprecated version of the Android embedding
After upgrading Flutter to version 2.5.0 I get the following warning.
The plugin `flutter_appavailability` 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.
Could you please updated this plugin?
The same problem, please update your dart 2.12.x and above . Thank you so much
I am also facing the same issue
The same problem, please update your dart 2.12.x and above . Thank you so much I have create a temp fix for it, test it with flutter 2.5.0 works well, maybe you can try it in your own fork repository.
flutter_appavailability:
git:
url: https://github.com/LongXiangGuo/flutter_appavailability.git
ref: master
The plugin flutter_appavailability
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.
Please update the plugin.
Check this out - https://github.com/pichillilorenzo/flutter_appavailability/pull/24#issuecomment-1071347722