-
Notifications
You must be signed in to change notification settings - Fork 189
Whether to ask permission should be passed as a parameter #64
Comments
Any update on this issue being tackled? |
+1 Relevant request |
This is so important, not sure how this was missed. |
I just spent a good two hours banging my head against the wall:
all because I couldn't understand why in the world the notification permission was asked on every launch... At no point in time did it occur to me that it could come from this plugin, since all I was doing in the initialisation phase is call |
If the project's minimum iOS version is at least 10.0, then workaround is to treat the device as supporting badges without calling final isAppBadgeSupported = Platform.isIOS ? true : await FlutterAppBadger.isAppBadgeSupported() |
any updates? |
First of all, thanks a lot for the package!
Second of all, I have a small concern. It's very likely that asking for notification permissions is a part of an already existing UI/UX, but if the functionality of this package is invoked earlier, then that flow is broken. Since it is possible to manage the app badge even without the permissions being granted, I think it should be possible to invoke the methods of this package passing a parameter for not asking for the permissions (which could be set to ask by default as it is now).
The text was updated successfully, but these errors were encountered: