I am working on React Native Expo.
I am facing an issue after updating my app to comply with the Photo and Video Permissions policy.
In my Expo-managed React Native app, I have added the following in app.json:
"blockedPermissions": [
"android.permission.READ_MEDIA_IMAGES",
"android.permission.READ_MEDIA_VIDEO",
"android.permission.READ_EXTERNAL_STORAGE",
"android.permission.WRITE_EXTERNAL_STORAGE"
]
This change helped my app get approved and works perfectly on Android 14 and above.
However, on Android 13 and below, the app freezes even on the login screen, before any media access or upload happens. If I remove these blocked permissions, the app works fine, but the Play Console review rejects the release due to READ_MEDIA_IMAGES / READ_MEDIA_VIDEO policy violation.
How to handle this backward compatibility issue for Android 13 and below?
What is a compliant way to allow these permissions conditionally (only for Android 13 and below)?
My goal is to comply with Play policy and ensure the app runs correctly for all Android versions.