DEV Community

Cover image for Photo and Video Permissions Rejection on Google Play: Fix It
vmzavas
vmzavas

Posted on

Photo and Video Permissions Rejection on Google Play: Fix It

Your app only lets people pick a profile photo, yet Google Play rejects it: "Permission use is not directly related to your app's core purpose." The review points at READ_MEDIA_IMAGES or READ_MEDIA_VIDEO, two permissions you may not even remember adding.

This rejection is common on first releases and closed testing builds, and it often comes from a library rather than your own code. Here is how to tell whether your app may keep the permissions, and how to remove them cleanly if it can't.

New to the rule? Start with the full guide: 12 testers for 14 days on Google Play, step by step.

Why Google Play restricts photo and video permissions
Google's Photo and Video Permissions policy applies to apps that target Android 13 (API 33) or higher. It says these apps may only request READ_MEDIA_IMAGES and READ_MEDIA_VIDEO if system pickers, like the Android photo picker, are not sufficient for the app's core functionality. Google's help page gave May 28, 2025 as the date for full compliance, so the rule is fully enforced now.

The reasoning is privacy. Broad media access lets an app read every photo and video on the phone. The photo picker gives the app only the files the user chooses, with no permission prompt at all.

Does your app qualify to keep READ_MEDIA_IMAGES?
Ask one question: does your app need to see all of the user's photos or videos to do its main job? A gallery app, a photo backup app or a file manager that organizes the whole media library usually qualifies. Google also exempts private and enterprise device management apps.

Most apps don't qualify. Picking an avatar, attaching a receipt, uploading a picture to a chat or a post, or adding one image to a note are all one-off picks. The photo picker covers them. Google's page also notes that building a custom picker doesn't qualify an app by itself.

If your app really qualifies, you keep the permissions and fill in the photo and video permissions declaration in Play Console, explaining why the picker isn't enough. If it doesn't, the fix is to remove the permissions, not to argue in the declaration.

Decision chart: if the app needs the whole photo library as its core purpose, like a gallery or backup app, keep the permission and declare it; if it only picks one photo for an avatar, receipt or post, use the photo picker and remove the permission
Whole library as the core job: declare. One-off picks: photo picker.
Switch to the Android photo picker
For native Android, use the PickVisualMedia or PickMultipleVisualMedia contract from androidx.activity. Google's page says the photo picker needs androidx.activity 1.7.0 or higher and is backported to Android 4.4 through 10, so it works on older phones too. You don't need any storage permission to use it.

You aren't forced to use the photo picker specifically. Google says other system pickers are fine as long as they meet your needs. In Flutter, Expo and other frameworks, check your image picking package's docs for photo picker support and update it to a current version. Older versions may still request broad media access.

If your app needs a camera, that is a separate permission. Taking a new photo with the camera doesn't require READ_MEDIA_IMAGES.

Remove READ_MEDIA_IMAGES that an SDK added
If the rejection survives your switch to the picker, a library is probably still adding the permission. Chat, support and media SDKs are common sources, and their manifest is merged into yours by default.

To drop it, add xmlns:tools="http://schemas.android.com/tools" to the manifest tag in app/src/main/AndroidManifest.xml, then add a uses-permission line for android.permission.READ_MEDIA_IMAGES with the attribute tools:node="remove". Do the same for android.permission.READ_MEDIA_VIDEO. Then open the Merged Manifest tab in Android Studio, or inspect the .aab with the APK Analyzer, and confirm that neither permission is left.

In no-code builders like Bubble or MIT App Inventor you often can't edit the manifest. Look for a media or permissions setting in the Android build options, and if there is none, ask the builder's support. Users on those forums report that rewording the permission prompt doesn't fix the rejection.

Five steps to fix the rejection: switch to the photo picker, remove both permissions with tools:node remove, check the merged manifest, bump the version code, release the build to every active track
Fix, check, bump, and replace the build on every active track.
Re-upload and clear every active track
Bump versionCode, rebuild, and upload the new bundle. Then check your other tracks. If an older build with READ_MEDIA_IMAGES is still active on internal testing or closed testing, Play may keep flagging the app. Release the fixed build to every active track, or remove the old release.

If you removed the permissions completely, update the photo and video permissions declaration in Play Console to match, if the form is still shown for your app. The form and the bundle should tell the same story.

Fix it before your closed test starts
A policy rejection on your closed testing release means testers can't install the build yet, and the 14 days don't move while nobody can use it. Check your manifest for READ_MEDIA_IMAGES and READ_MEDIA_VIDEO before the first upload, not after the first rejection.

Once the release is through, you still need 12 opted-in testers for 14 days. If you don't have them yet, PeerPlay is a free Android app where developers test each other's apps, so you can find your testers while you test theirs.

Top comments (3)

Collapse
 
mosmox_studio profile image
Mosmox Studio •

Worth automating the check too: bundletool dump manifest --bundle=app.aab (or aapt2 dump permissions on an APK) in CI catches a library quietly adding READ_MEDIA_IMAGES back after a dependency bump, before Play does.

Collapse
 
userxnom profile image
Abdullah Naseer •

The part most developers miss is the one you put in the middle: the permission often isn't in their own code at all, it's merged in from a library. I've seen that exact confusion where the manifest looks clean, yet Play keeps flagging READ_MEDIA_IMAGES because an image picker or cropper SDK declared it. Checking the merged manifest before resubmitting would save a lot of people a second rejection.

The stale-track warning is equally important. Fixing the main track and forgetting an old build sitting on another track is exactly the kind of thing that makes a developer think the fix didn't work, when the old bundle was still carrying the permission.

Which SDKs have you seen causing this most often in practice — is it usually image picker or cropper libraries, or does it come from somewhere less obvious? And when you switched an app to the photo picker, did Play accept the resubmission first time, or did the declaration form still need a cleanup pass before it went through?

Collapse
 
fireflyteamapps profile image
Firefly Team •

Worth adding for camera apps: if you only need to show pictures your own app created, MediaStore still returns items your package owns without READ_MEDIA_IMAGES, so an in-app "recent shots" strip doesn't drag you back under the policy. The catch is that ownership is tied to the install, so after an uninstall and reinstall those same files look like someone else's media and disappear from the query.