New granular permissions when accessing media were introduced in Android 13 (Android docs). This PR adds the new granular permissions for >= API 33 and falls back to using android.permission.READ_EXTERNAL_STORAGE for < API 33.
@farfromrefug I noticed that the photo permission was using WRITE_EXTERNAL_STORAGE instead of READ_EXTERNAL_STORAGE, should the fallback for < API 33 use the WRITE_EXTERNAL_STORAGE or READ_EXTERNAL_STORAGE permission?
This is what the new permission dialog for accessing audio using the granular permissions looks like 👇
Compared to the previous dialog for accessing storage 👇
New granular permissions when accessing media were introduced in Android 13 (Android docs). This PR adds the new granular permissions for >= API 33 and falls back to using
android.permission.READ_EXTERNAL_STORAGE
for < API 33.@farfromrefug I noticed that the
photo
permission was usingWRITE_EXTERNAL_STORAGE
instead ofREAD_EXTERNAL_STORAGE
, should the fallback for < API 33 use theWRITE_EXTERNAL_STORAGE
orREAD_EXTERNAL_STORAGE
permission?This is what the new permission dialog for accessing audio using the granular permissions looks like 👇
Compared to the previous dialog for accessing storage 👇