fix: remove READ_MEDIA_IMAGES permission to comply with Google Play policies #118
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Removed the
READ_MEDIA_IMAGESpermission fromAndroidManifest.xmlso the app is not rejected during Google Play review.Fixes #110. As mentioned in the issue comments, seems that the permission is not in use. Even with the changes introduced in version 2.3.3, the app was still rejected by Google Play.
I wasn’t able to run the example app due to Android build issues (specifically with
react-native-screens), but I tested the change directly in my own app and, after removing this permission, the build was approved for the production track.Regarding Android 13, everything continued to work after the change. I tested it on the emulator using the command:
adb shell input keyevent 120If there’s anything else that needs to be adjusted, I’m happy to update the PR.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.