jaumard / sms_autofill

Flutter plugin to provide SMS code autofill support
MIT License
282 stars 174 forks source link

Migrate to Android v2 embedding #133

Closed esenmx closed 2 years ago

esenmx commented 2 years ago

Hi, I'm using the latest version(2.0.1). This is the error:

The plugin `sms_autofill` 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.

Thanks for your hard work!

vikas2dx commented 2 years ago

Same Error:

The plugin sms_autofill 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

saswatmoo commented 2 years ago

same issue

jaumard commented 2 years ago

Thanks for the report! I'll work on that when I get some free time, if some go you are motivated a PR is welcome, I would gladly review and merge it.

kamyar75 commented 2 years ago

also I have same error