mapbox / mapbox-unity-sdk

Mapbox Unity SDK - https://www.mapbox.com/unity/
Other
725 stars 210 forks source link

Use UniAndroid to check permission status #1866

Open jaidhyani opened 2 years ago

jaidhyani commented 2 years ago

In the existing implementation, _gotPermissionRequestResponse is not reliably set when the user sets permission, which can leave the application in a broken state that can only be resolved by force-quitting and restarting. Using UniAndroid instead seems to fix the issue and results in the application being in a working state after the user accepts the permission request.

Related issue

Example: Closes #832. Relates to #832.

Description of changes

Your text here!

QA checklists

Reviewers

Tag your reviewer(s). Choose wisely.