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
308 stars 161 forks source link

Don't overwrite categories #52

Closed bannzai closed 2 years ago

bannzai commented 2 years ago

Abstract

Use the current settings for categories in the library that have been unintentionally overwritten by nil Actually, in my app don't work push notification actionable button after called flutter app badger removeBadge.

Question

Why calling enableNotifications on handleMethodCall ? It's strange to ask for permission for notifications that an app can only ask once in FlutterAppBadger. I was also curious about the reason for overwriting the settings.

g123k commented 2 years ago

Thanks for your PR @bannzai