flutter_notification_permissions
flutter_notification_permissions copied to clipboard
iOS - Permission granted when each single option is disabled
I use:
flutter --version
Flutter 2.2.1 • channel unknown • unknown source Framework • revision 02c026b03c (vor 6 Monaten) • 2021-05-27 12:24:44 -0700 Engine • revision 0fdb562ac8 Tools • Dart 2.13.1
Package:
notification_permissions: ^0.6.1
I just recognized that iOS shows "notifications off" in the settings of the app, when each single option is disabled, BUT the actual toggle "Enable push notification" is enabled.
The return type of the following code is granted
final permissionStatus = await NotificationPermissions.getNotificationPermissionStatus();
But obviously, the push notifications will not receive when each option is disabled.
The fix would be appreciated, I have another project where this is a potential problem :)
i preffer a quick fix either ;-)