-
-
Notifications
You must be signed in to change notification settings - Fork 869
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question]: NEW Android Photo and Video Permissions policy #1380
Comments
Hello, Same here, need some information about this (i work on a messaging app which can send medias, upload avatar picture, etc but no modification). |
We have the same problem. Interestingly, the <use-permissions READ_MEDIA_*> tags are not present in the app bundle's AndroidManifest.xml file. Maybe this is the same problem as with Apple, that the static code analysis of the play console triggers a false positive? |
@MBulli hi, I have the same issue, were you able to find a solution? |
@rdonoso Nope |
@AlexMichels @kmoreau @rdonoso @MBulli |
In case someone else is in the same situation - when permissions are not really required, for example when min android sdk is >= 33, it is possible to explicitly remove permissions this way: <!-- Remove unnecessary media permissions -->
<uses-permission
android:name="android.permission.READ_MEDIA_IMAGES"
tools:node="remove" />
<uses-permission
android:name="android.permission.READ_MEDIA_VIDEO"
tools:node="remove" />
<uses-permission
android:name="android.permission.READ_MEDIA_AUDIO"
tools:node="remove" /> The above code will remove any permissions from dependencies merged to project's manifest during the build process. |
Hi @nayan-dabhi , can you explain more about the required declaration? |
Guys, any update on this issue ? |
following |
In my case, I did not actually need the permission at all as the |
Please check the following before submitting a new issue.
Please select for which platform(s) you need help
Your question
Our App uses the permission_handler and file_picker to set a custom wallpaper background. I suddenly saw those news from Android.
Can we continue to use permission_handler and file_picker for our app? Anyone experience with switching the way photos are ulpoaded and stored?
We do not use READ_MEDIA_IMAGES or READ_MEDIA_VIDEO in the app. We check the permission with Permission.storage.request() for Android SdkInt < 33. From Android 33 onwards, no additional permissions are required. Presumably, READ_MEDIA access is only needed if you want to access media created by other apps—which has not been relevant for us so far. Is that correct?
Last October, Android introduced the Photo and Video Permissions policy to reduce the number of apps permitted to request broad photo/video permissions (READ_MEDIA_IMAGES and READ_MEDIA_VIDEO). Starting October 31, 2024, apps may only access photos and videos for purposes directly related to app functionality. Apps that have a one-time or infrequent need to access these files are requested to use a system picker, such as the Android photo picker. Learn more
https://developer.android.com/reference/android/Manifest.permission#READ_MEDIA_IMAGES
https://support.google.com/googleplay/android-developer/answer/14115180
Version
11.3.1
The text was updated successfully, but these errors were encountered: