0

My cordova app displays photos that users can click on and then pinch expand/zoom the photo and/or download the image. I am using the plugin: https://github.com/YaroslavG/photoviewer. I just submitted a new version of my app (been a while since my last app update) and for the first time ever it got rejected with the following statement:

Issue found: Permission use is not directly related to your app’s core purpose.

We found that your app is not compliant with how the READ_MEDIA_IMAGES/READ_MEDIA_VIDEO permissions are allowed to be used.

**Your app only requires one-time or infrequent access to media files on the device.** Only apps with a core use case that require persistent access to photo and video files located in shared storage on devices are allowed to use photo and video permissions. For more details on the requirements, please see Google Play's Photo and Video Permissions policy.

Issue details
We found an issue in the following area(s):
•   Policy Declaration for Photo Picker: Your app only requires one-time or infrequent access to media files on the device.
•   Version code 5021: In-app experience

To bring your app into compliance, follow these steps:

To comply with Google Play's Photo and Video Permissions policy, please adjust the following requirements.
•   Remove the use of READ_MEDIA_IMAGES/READ_MEDIA_VIDEO permission from all version codes within the submission. This includes both production and testing tracks.
•   If your app requires one-time, or limited use of photo and video file, remove the permissions and consider using the Android photo picker.
•   Send changes to Google for review. 

My app has always asked for permission, which I guess was full permission which Google does not allow anymore unless a submitted exception has been approved. How can I convert the permission request to be, as google states: your app only requires one-time or infrequent access to media files on the device - I am a bit confused by this message though. Is that telling me I can't have access to the permission because my app only requires one-time or infrequent access or is it telling me I have to change the permission type away from permanent access to when app in use type permission?

My current permissions in my config.xml file are:

    <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
    <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
    <uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />

UPDATE

Ok, so I found extra documentation that answers my above bolded question. It is telling me I can't use permissions for READ_MEDIA_IMAGES and READ_MEDIA_VIDEO and that I must use something like Android Photo Picker. Is there any cordova android photopicker plugin? Or something else I can use. I can't find anything so far.

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.