-
-
Notifications
You must be signed in to change notification settings - Fork 913
Open
Labels
P2Important issues not at the top of the work list.Important issues not at the top of the work list.platform: iosIssue is related to the iOS platformIssue is related to the iOS platformtype: bugSomething isn't workingSomething isn't working
Description
π Bug Report
The Permission.locationWhenInUse.status
method is returning permanentlyDenied
if the location service was disabled in iPhone.
On Android it's working fine.
Expected behavior
I've created a logic in these steps:
- Request permission status
- If is denied, call my request permission method
- My request permission method will check if service is disabled (if has a service)
- If service is disabled, this method will return a specific error and, in some cases, I can request the user to enabled the service, opening the app settings
I believe that returning a permanentlyDenied
status just for iOS is not correct. Should keep the same behavior for Android/iOS.
Reproduction steps
- Disable the iOS location service
- Request Permission.locationWhenInUse.status
Configuration
Version: 8.1.6
Platform:
- π± iOS
- π€ Android
DarkMikey, cohenadair and ilyasarafathemvigo
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work list.Important issues not at the top of the work list.platform: iosIssue is related to the iOS platformIssue is related to the iOS platformtype: bugSomething isn't workingSomething isn't working