g123k / flutter_app_badger

Support to update the app badge on the launcher (both for Android and iOS)
https://pub.dev/packages/flutter_app_badger
Apache License 2.0
307 stars 172 forks source link

Add support to get badge number count on iOS #21

Closed dazza5000 closed 3 years ago

dazza5000 commented 4 years ago

@g123k - please let me know if you would like me to change anything or if this is something you don't like. - thank you for the library!

randyhammond commented 4 years ago

I think this is really useful and would be a great addition to the plugin. My only suggestion is that an exception should be thrown by getBadgeCount when it is called on Android. An exception will already be thrown at channel.invokeMethod, but I think a more detailed/specific message would be better.

darran-kelinske-fivestars commented 4 years ago

Different account - will put that enhancement in - but i would like to wait to see if the repo maintainer likes it

g123k commented 3 years ago

Thanks for your PR. However an Android implementation is missing and I can't approve it in the current state