flutter_appavailability icon indicating copy to clipboard operation
flutter_appavailability copied to clipboard

deprecated version of the Android embedding

Open CaptainDario opened this issue 3 years ago • 5 comments

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?

CaptainDario avatar Sep 11 '21 11:09 CaptainDario

The same problem, please update your dart 2.12.x and above . Thank you so much

khaitq7 avatar Sep 13 '21 04:09 khaitq7

I am also facing the same issue

Malkeet12 avatar Sep 14 '21 05:09 Malkeet12

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

LongXiangGuo avatar Oct 26 '21 06:10 LongXiangGuo

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.

BillionaireMarumo avatar Nov 14 '21 08:11 BillionaireMarumo

Check this out - https://github.com/pichillilorenzo/flutter_appavailability/pull/24#issuecomment-1071347722

Yash-Garg avatar Mar 17 '22 20:03 Yash-Garg