Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user to choose callback frequency and add coarser location monitoring #2

Merged
merged 3 commits into from
Dec 4, 2015

Conversation

tspike
Copy link

@tspike tspike commented Dec 4, 2015

This pull request does the following:

  • Adds an updateFrequency parameter to LocationUpdateRequest. This parameter allows the user to choose if they want .Continuous, periodic requests or to get updated about .ChangesOnly.
  • Adds .Coarse granularity to location accuracy

When .ChangesOnly is used in conjunction with .Coarse accuracy along with .Always authorization, Apple's significant-changes location service is used, which provides low-power infrequent location updates. See: https://developer.apple.com/library/ios/documentation/CoreLocation/Reference/CLLocationManager_Class/index.html#//apple_ref/occ/instm/CLLocationManager/startMonitoringSignificantLocationChanges

@samgrover
Copy link
Contributor

This looks great. Thanks!

samgrover added a commit that referenced this pull request Dec 4, 2015
Allow user to choose callback frequency and add coarser location monitoring
@samgrover samgrover merged commit 55505ce into Electrode-iOS:master Dec 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants