Wrapper for native badge APIs on iOS and macOS. It allows you to change the badge of your app icon, by setting the count, showing red dot, clearing the badge and getting the current badge count.
I tested on below environments by flutter_native_badge_foundation/example:
iOS 15.4 (simulator)
iOS 16.0 (simulator)
iOS 17.5 (real device)
Should I update documents (at least CHANGELOG.md and README.md) in this request?
We have better to inform users that getBadgeCount could be unavailable in future versions.
Also the current example uses the getter.
Should I update now or wait until the getter obsoluted?
Migrate the iOS badge API from deprecated applicationIconBadgeNumber to setBadgeCount and close #3 .
I tested on below environments by
flutter_native_badge_foundation/example
:Should I update documents (at least
CHANGELOG.md
andREADME.md
) in this request? We have better to inform users thatgetBadgeCount
could be unavailable in future versions.Also the current example uses the getter. Should I update now or wait until the getter obsoluted?