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

Fix #1912 - if coarse is provided instead of fine location, returned … #1937

Merged
merged 5 commits into from Jan 14, 2022
Merged

Conversation

aritchie
Copy link
Contributor

@aritchie aritchie commented Dec 7, 2021

Description of Change

Android 11/12 allow for coarse location permission to be returned without precise/fine. Essentials should return "Restricted" in this case, not denied. This PR works for older versions of Android as well.

Note that there is some shifting of code to fix this as well as preparation to also fix 1936

Bugs Fixed

Fixes #1912

API Changes

None

Behavioral Changes

None

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Has samples (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Changes adhere to coding standard
  • Updated documentation (see walkthrough)

@ghost
Copy link

ghost commented Dec 7, 2021

CLA assistant check
All CLA requirements met.

@jfversluis
Copy link
Member

Thanks for your patience @aritchie and even more thanks for your time and effort on this!

@jfversluis jfversluis merged commit 198cb6b into xamarin:main Jan 14, 2022
@aritchie
Copy link
Contributor Author

Anytime. Glad I could help

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

Successfully merging this pull request may close these issues.

[Bug] Android 12: "Approximate" Location Permissions Returns Denied
2 participants