This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
v1.4.0
Breaking Changes
isLocationEnabled
oniOS
now checks forLocation Services
status instead of checking App permissions (Fix #3)
Fixes
enableLocation
now opensLocation Services
page in case they are disabled, in case location permissions have been asked before the current app settings page is shown, if permission have yet to be asked to the user the promise will be rejected.
Known Issues
On iOS 11, an app cannot open a specific Settings page, so calling enableLocation
when the Location Services
are not enabled will only open the Settings app on the main screen, so will also do the enableBluetooth
method.
Keep track of this issue at #4 .