flutter-permission-handler icon indicating copy to clipboard operation
flutter-permission-handler copied to clipboard

iOS - Permission granted when each single option is disabled

Open stefanschaller opened this issue 2 years ago • 4 comments

🐛 Bug Report

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. Check images below.

Expected behavior

Permissions NOT granted since no push notifications receive.

Reproduction steps

  1. disable each single option of push notifications, except the actual "enable push notifications"
  2. call: await Permission.notification.status;

Configuration

Version:

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: permission_handler: ^8.1.6

Platform:

  • [x] :iphone: iOS 15

IMG_4353 IMG_4352

stefanschaller avatar Dec 01 '21 16:12 stefanschaller

I am also interested in this fix :D

JulianBissekkou avatar Dec 01 '21 16:12 JulianBissekkou

hope for a quick solution :)

cdignas avatar Dec 01 '21 16:12 cdignas

Me too, i also need a fix for that

cthiele-mogic avatar Dec 01 '21 22:12 cthiele-mogic

@martijn00 Can you tell if you have time to fix this? We need to know if and when a fix might happen.

JulianBissekkou avatar Jan 10 '22 14:01 JulianBissekkou

@martijn00 reproduced for me too

maxim-ivanchuk-idf avatar Dec 24 '22 10:12 maxim-ivanchuk-idf

Dear @stefanschaller,

I cannot reproduce this on iOS 16.2. Can you confirm if this is still happening on recent OS/permission-handler versions?

Kind regards,

TimHoogstrate avatar Aug 22 '23 14:08 TimHoogstrate

Without additional information, we are unfortunately not able to resolve this issue. Therefore, we reluctantly closed this issue for now. If you run into this issue later, feel free to file a new issue with a reference to this issue. Add a description of detailed steps to reproduce, expected and current behaviour, logs and the output of 'flutter doctor -v'. Thanks for your contribution.

github-actions[bot] avatar Sep 06 '23 19:09 github-actions[bot]