pichillilorenzo / flutter_appavailability

A Flutter plugin that allows you to check if an app is installed/enabled, launch an app and get the list of installed apps.
https://pub.dartlang.org/packages/flutter_appavailability
MIT License
92 stars 89 forks source link

deprecated version of the Android embedding #27

Open CaptainDario opened 3 years ago

CaptainDario commented 3 years ago

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?

khaitq7 commented 3 years ago

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

Malkeet12 commented 3 years ago

I am also facing the same issue

LongXiangGuo commented 2 years ago

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
BillionaireMarumo commented 2 years ago

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.

Yash-Garg commented 2 years ago

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