Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

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