I was investigating permissions feature and running the sample app, I noticed that the existing RequestMultiplePermissionsSample would not work as expected, because READ_EXTERNAL_STORAGE does not exist since API Level 33. I never got "Camera and Read storage permissions Granted! Thank you!" state because this permission is not going to be regarded as approved at rememberMultiplePermissionsState() whereas it will never be asked at launchMultiplePermissionRequest().
Steps to reproduce
Launch the existing "Permissions: Request multiple permissions" sample, and approve ALL the requested permissions.
Expected behavior
It should result in the "Thank you!" message above.
Additional context
I have a fix that simply replaces READ_EXTERNAL_STORAGE with RECORD_AUDIO, will be sent .
Description
I was investigating permissions feature and running the sample app, I noticed that the existing
RequestMultiplePermissionsSample
would not work as expected, becauseREAD_EXTERNAL_STORAGE
does not exist since API Level 33. I never got"Camera and Read storage permissions Granted! Thank you!"
state because this permission is not going to be regarded as approved atrememberMultiplePermissionsState()
whereas it will never be asked atlaunchMultiplePermissionRequest()
.Steps to reproduce
Launch the existing "Permissions: Request multiple permissions" sample, and approve ALL the requested permissions.
Expected behavior
It should result in the "Thank you!" message above.
Additional context
I have a fix that simply replaces
READ_EXTERNAL_STORAGE
withRECORD_AUDIO
, will be sent .