Mobile-SDK-Android-V5
Mobile-SDK-Android-V5 copied to clipboard
Possible to remove READ_MEDIA_IMAGES and READ_MEDIA_VIDEO permissions from Manifest?
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?
// 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)
}
}
}
Agent comment from yating.liao in Zendesk ticket #121834:
I am currently verifying the information with the team, please hold on for a moment.
°°°
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 thank you very much for looking into this, I appreciate that!
@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
@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.
@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 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?
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.