flutter-permission-handler
flutter-permission-handler copied to clipboard
contacts permission is inconsistent in iOS emulator
🐛 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
We are having the same issue.
I am having the same issue. Have anyone found a solution to this?
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,