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

Add support for precise and reduced gps accuracy option introduced in iOS 14 #312

Closed
malcommac opened this issue Nov 28, 2020 · 0 comments
Closed
Assignees
Milestone

Comments

@malcommac
Copy link
Owner

malcommac commented Nov 28, 2020

iOS 14 introduces the option for users to authorize a precise location when giving location permissions. If the user has chosen non-precise location and we need it, such as for navigating, we can ask for one time permission. This PR adds a parameter to locateFromGPS() to indicate whether .fullAccuracy is needed for a task (default is set to .reducedAccuracy). If user has not given precise location, it will ask for a one time permission.
https://developer.apple.com/wwdc20/10660

Inspired from PR #295

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant