-
Notifications
You must be signed in to change notification settings - Fork 387
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new API for getting the current state of location services
Fixes #28, #29 - Add a new class method `locationServicesState` that returns the current state of system location services (based on the system settings, and the authorization status for this app) - Deprecate the legacy API `locationServicesAvailable`, as the new API fully replaces it - Minor internal refactoring to leverage the above changes Thanks to @GabrielCartier, @KhanFu, @pronebird for the suggestions and help thinking this through.
- Loading branch information
Tyler Fox
authored and
Tyler Fox
committed
Mar 18, 2015
1 parent
f6c01f7
commit d160383
Showing
3 changed files
with
90 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters