Mobile-SDK-Android-V5 icon indicating copy to clipboard operation
Mobile-SDK-Android-V5 copied to clipboard

Possible to remove READ_MEDIA_IMAGES and READ_MEDIA_VIDEO permissions from Manifest?

Open brien-crean opened this issue 1 year ago • 8 comments

Permissions added by SDK 5 are triggering an App Content declaration in Google Play that needs attention soon. Are these permissions required to successfully use the SDK?

I can request more time but wondering if the next update to SDK 5 could address this issue please?

Screenshot 2024-11-13 at 2 42 47 PM

// DJIMainActivity.kt
init {
        permissionArray.apply {
            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
                add(Manifest.permission.READ_MEDIA_IMAGES)
                add(Manifest.permission.READ_MEDIA_VIDEO)
                add(Manifest.permission.READ_MEDIA_AUDIO)
            } else {
                add(Manifest.permission.READ_EXTERNAL_STORAGE)
                add(Manifest.permission.WRITE_EXTERNAL_STORAGE)
            }
        }
    }

brien-crean avatar Nov 13 '24 22:11 brien-crean

Agent comment from yating.liao in Zendesk ticket #121834:

I am currently verifying the information with the team, please hold on for a moment.

°°°

dji-dev avatar Nov 14 '24 09:11 dji-dev

Agent comment from yating.liao in Zendesk ticket #121834:

We have conducted a preliminary assessment, and it appears that the READ_MEDIA_IMAGES and READ_MEDIA_VIDEO permissions may not be essential for the SDK. However, the results of removing them still need to be verified. I have submitted this issue to the team, and I will update you here once we have a conclusion.

°°°

dji-dev avatar Nov 15 '24 03:11 dji-dev

@dji-dev thank you very much for looking into this, I appreciate that!

brien-crean avatar Nov 15 '24 23:11 brien-crean

@dji-dev any update on this issue? I was able to request an extension to May 28th to be able to upload builds to Google Play with the READ_MEDIA_IMAGES and READ_MEDIA_VIDEO permissions. After May 28th it will become more difficult to try and upload apps with these permissions. Thanks

brien-crean avatar Jan 28 '25 23:01 brien-crean

@dji-dev any update on this issue would be much appreciated!

This issue is causing our app to go through a manual review every time we submit an app update.

brien-crean avatar Feb 25 '25 05:02 brien-crean

@dji-dev Any update on why these permissions were added so that we can at least give a reason to Google? Otherwise, can they please be removed.

CyberCyclone avatar Jun 10 '25 06:06 CyberCyclone

@CyberCyclone these permissions were removed in a previous version of the SDK, 5.14.0 I believe. I had to submit an appeal to Google to get them to remove the App Content declaration that was blocking my app submissions. It did not go away on its own. Are you seeing the same issue?

brien-crean avatar Jun 10 '25 15:06 brien-crean

Thanks for the update @brien-crean . We're using an older version of the MSDK, and there wasn't any change-log notes saying it had been removed, so it looked like this ticket had been abandoned.

CyberCyclone avatar Jun 10 '25 23:06 CyberCyclone