Closed jakusb closed 2 years ago
I'm getting the same warning
Having the same issue
The warning appears everytime we run pub upgrade with the new release of flutter : 2.5.0
Getting the same issue with flutter: 2.5.0 (stable channel)
Came here to report same issue. I like this package, so I would like to keep it in my projects.
Just upgrade flutter version and this problem emerges, current flutter version 2.5.0 (stable channel)
While #47 is not merged you can use like this in your pubspec:
flutter_app_badger:
git:
url: https://github.com/SuaMusica/flutter_app_badger.git
ref: feature/androidV2
Always check the PR to see if it was already merged and get back to use pub.dev (there is no penalty nor performance issues using it from github)
Same issue here. Hoping it to be solved!
I think it's already fixed but somehow they just didn't announce it. https://github.com/g123k/flutter_app_badger/commit/628490233d760df5eb2a48a49a848ded6d33a654
I fixed it by using 1.3.0
instead while I'm not sure if it's recommended. After doing this, the warning is now gone.
flutter_app_badger: ^1.3.0
I hope it will help someone.
flutter_app_badger: ^1.3.0
fixed it for me, thank you!
Yes indeed, the issue is fixed with 1.3.0
AndroidStudio/Flutter shows this warning.
The plugin
flutter_app_badger
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.