isaacadariku / flutter_native_badge

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.
https://pub.dev/packages/flutter_native_badge
MIT License
6 stars 1 forks source link

Foundation: applicationIconBadgeNumber is deprecated #3

Closed fujimo-t closed 3 months ago

fujimo-t commented 5 months ago

applicationIconBadgeNumber has been deprecated since iOS 17. It hasn't been obsoleted for the latest SDK but it is better to use setBadgeCount on the supported OS.

fujimo-t commented 5 months ago

I fixed above comment (deprecated version 16 -> 17 and macOS implementation doesn't use it) .

Also I didn't notice there aren't any replacement for the badge getter...