This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
v1.5.0
Breaking Changes
isLocationEnabled()
has been renamed toareLocationServicesEnabled()
- removed
enableBluetooth()
andenableLocation()
methods
Features
isLocationPermissionGranted()
checks for Location permission.
Location permission states are:
- "Location.Permission.Granted.WhenInUse"
- "Location.Permission.Granted.Always"
- "Location.Permission.Denied"
Note: on Android there's noWhen in use
state.
Fixes
- removing methods that open
Settings
to enable location or bluetooth prevents app rejection by Apple.