google-ar / arcore-unity-sdk

ARCore SDK for Unity
https://developers.google.com/ar
Other
1.4k stars 403 forks source link

Prepare SDK to be compliant with Android 11 permissions flow #750

Open calaba140 opened 3 years ago

calaba140 commented 3 years ago

SPECIFIC ISSUE ENCOUNTERED

Camera Permission flow is not respected for the "Ask every time" / "Only this time" option on Android 11. Instead the Deny permission flow is invoked

VERSIONS USED

STEPS TO REPRODUCE THE ISSUE

  1. Launch the app on Android 11 Beta 3
  2. Trigger the Camera Permission
  3. Note the option Ask every time - choose it
  4. Enter AR, exit it and restart the title
  5. Try to access the AR feature again - note that the pop-up will not appear again (even if the ask every time option was chosen) - instead the "permission already denied; check settings" pop-up will appear

WORKAROUNDS (IF ANY)

None

ADDITIONAL COMMENTS

The final release of Android 11 is expected to take place in September. Any chances to release a version of the SDK that is compliant with Android 11 Permissions flow before Android 11 is released?

Thanks