This repository was archived by the owner on Oct 5, 2021. It is now read-only.
This repository was archived by the owner on Oct 5, 2021. It is now read-only.
On iOS 13, location always is incorrectly returned as granted when you only have when in use #46
Open
Description
🐛 Bug Report
NOTE: Yes I saw the closed issue where it was stated this was fixed and yes I'm using the hotfix location_permissions: 3.0.0+1
Expected behavior
Upon asking for location permissions and the user taps "when in use", location always is not yet granted.
Reproduction steps
- Use iOS 13 device
- Prompt for location permissions and select "when in use"
- Check if permission level for location always
This returns true:
static Future<bool> hasLocationAlwaysPermission() async {
PermissionStatus permission = await LocationPermissions()
.checkPermissionStatus(level: LocationPermissionLevel.locationAlways);
return permission == PermissionStatus.granted;
}
Platform:
- 📱 iOS 13 (not 12 and lower, seems to work)
- 🤖 Android (all android devices tested work as well)
Metadata
Metadata
Assignees
Labels
No labels