admin管理员组文章数量:1180552
My app has been flagged by Google with the following:
Your app uses the following undeclared photo and video permissions
android.permission.READ_MEDIA_IMAGES
android.permission.READ_MEDIA_VIDEO
However, these permissions are not inside AndroidManifest.xml. Here's the relevant section in my app:
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="com.google.android.gms.permission.AD_ID" tools:node="remove"/>
What should I do or where should I look?
I am using the following library for image picker:
"expo-image-picker": "~15.0.7",
My app has been flagged by Google with the following:
Your app uses the following undeclared photo and video permissions
android.permission.READ_MEDIA_IMAGES
android.permission.READ_MEDIA_VIDEO
However, these permissions are not inside AndroidManifest.xml. Here's the relevant section in my app:
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="com.google.android.gms.permission.AD_ID" tools:node="remove"/>
What should I do or where should I look?
I am using the following library for image picker:
"expo-image-picker": "~15.0.7",
Share
Improve this question
edited 59 mins ago
Joshua Augustinus
asked 2 hours ago
Joshua AugustinusJoshua Augustinus
1491 silver badge10 bronze badges
1
- You already made the right mentioned "expo-image-picker": "~15.0.7" that needs the "READ_MEDIA_IMAGES, READ_MEDIA_VIDEO" Permissions to work properly. So it is better to declare them in the manifest. – Muhammad Ammar Commented 12 mins ago
1 Answer
Reset to default 0The library that you are using use the mentioned permission, You can either move to LaunhcerIntent for picking images from user gallery or declare this permission in the Manifest.xml
P.S On Android Api level 33 and above Read External Stoarge Permission can not be granted, so you may have to declare this permission of Read Media Images
本文标签:
版权声明:本文标题:android - Getting incorrectly flagged by Google for READ_MEDIA_IMAGES even though it is not declared in AndroidManifest.xml - St 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1738132125a2065278.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论