flutter_notification_permissions icon indicating copy to clipboard operation
flutter_notification_permissions copied to clipboard

iOS - Permission granted when each single option is disabled

Open stefanschaller opened this issue 4 years ago • 2 comments

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.

IMG_4353 IMG_4352

stefanschaller avatar Dec 01 '21 16:12 stefanschaller

The fix would be appreciated, I have another project where this is a potential problem :)

JulianBissekkou avatar Dec 01 '21 16:12 JulianBissekkou

i preffer a quick fix either ;-)

cdignas avatar Dec 01 '21 16:12 cdignas