karantanwar / unique_identifier

A flutter plugin for getting the unique serial number for android and identifierForVendor in ios
MIT License
8 stars 33 forks source link

Deprecation Warning #12

Closed danieldoddjr closed 11 months ago

danieldoddjr commented 3 years ago

Today after updating to Flutter 2.5 and Upgrading Android Studio I get this warning when I flutter run.

The plugin unique_identifier 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.

paulobreim commented 3 years ago

Same for me

paulobreim commented 3 years ago

good news, Mr. Karan sent me a message that he will work on it.

karantanwar commented 3 years ago

Hi... I am sorry for the delay... I am a little busy with a different project... I'll resolve this soon.

paulobreim commented 2 years ago

i saw that there is a new version, i haven't tested it yet but it probably fixed the problem. unique_identifier: ^0.2.2

paulobreim commented 1 year ago

@karantanwar Still The plugin unique_identifier 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 fix it or tell to us if you will not support any more