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

contacts permission is inconsistent in iOS emulator

Open aaronscherbing opened this issue 3 years ago • 2 comments

🐛 Bug Report

When I request contacts permission, I get permanentlyDenied: PermissionStatus status = await Permission.contacts.request();

When I later fetch the contacts status, I get denied: PermissionStatus contacts = await Permission.contacts.status;

Expected behavior

If the request returns permanentlyDenied, the subsequently fetched status should also be permanentlyDenied.

Reproduction steps

See above.

Configuration

Flutter - 2.8.1 permission_handler - 8.3.0 iOS Simulator - iPhone 13 iOS 15.2 Xcode - 13.2 Mac M1

Platform:

  • [x] :iphone: iOS
  • [ ] :robot: Android

aaronscherbing avatar Dec 30 '21 15:12 aaronscherbing

We are having the same issue.

geiszla avatar May 31 '22 12:05 geiszla

I am having the same issue. Have anyone found a solution to this?

wizardoma avatar Aug 17 '22 20:08 wizardoma

I personally cannot reproduce this issue. Therefore, I close this issue. Feel free to reopen when new information pops-up. If so, please try to add the output of flutter doctor -v to this issue.

Kind regards,

TimHoogstrate avatar Aug 24 '23 07:08 TimHoogstrate