mapbox-unity-sdk
mapbox-unity-sdk copied to clipboard
Use UniAndroid to check permission status
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
- [ ] Add relevant code comments. Every API class and method should have
<summary>description as well as description of parameters. - [ ] Add tests for new/changed/updated classes and methods!!!
- [ ] Check out conventions in CONTRIBUTING.md.
- [ ] Check out conventions in CODING-STYLE.md
- [ ] Update the changelog
- [ ] Update documentation.
Reviewers
Tag your reviewer(s). Choose wisely.