0

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.

1
  • Hi, could you share a minimal reproducible example? This type of issue is likely in your dependencies. Commented Oct 9 at 20:23

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.