Skip to content
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

MANAGE_EXTERNAL_STORAGE on google play #2280

Closed
didi789 opened this issue Feb 12, 2022 · 6 comments
Closed

MANAGE_EXTERNAL_STORAGE on google play #2280

didi789 opened this issue Feb 12, 2022 · 6 comments

Comments

@didi789
Copy link

didi789 commented Feb 12, 2022

From google developers site:

You should request the MANAGE_EXTERNAL_STORAGE permission only when your app cannot effectively make use of the more privacy-friendly APIs, such as Storage Access Framework or the Media Store API. Additionally, the app's usage of the permission must fall within permitted uses, and must be directly tied to the core functionality of the app. If your app includes a use case that's similar to the following examples, it's likely to be allowed to request the MANAGE_EXTERNAL_STORAGE permission:

File managers
Backup and restore apps
Anti-virus apps
Document management apps
On-device file search
Disk and file encryption
Device-to-device data migration

And, from here:

Google Play restricts the use of high risk or sensitive permissions, including a special app access called All files access. This is only applicable to apps that target Android 11 (API level 30) and declare the MANAGE_EXTERNAL_STORAGE permission, which is added in Android 11. Also, this policy does not impact the usage of the READ_EXTERNAL_STORAGE permission.

Maybe we should remove MANAGE_EXTERNAL_STORAGE permission from library and keep only READ_EXTERNAL_STORAGE?

@Lee-Jian
Copy link

Lee-Jian commented Feb 17, 2022

是的,因为用到了MANAGE_EXTERNAL_STORAGE 权限,我不能在google play上发布这个权限,我不得已放弃这个库,希望能够帮忙更正这个问题,谢谢

@LuckSiege
Copy link
Owner

v3.0.4版本权限改为自行声明,用不到 可以去掉这个权限声明即可

@powerzd
Copy link

powerzd commented Mar 8, 2022

去掉MANAGE_EXTERNAL_STORAGE权限之后,只是选择图片,仍然会跳转到获取文件管理权限的界面,返回提示Read Memory
Card denied,无法选择图片,望解答

@fqz100
Copy link

fqz100 commented May 6, 2022

去掉MANAGE_EXTERNAL_STORAGE权限之后,只是选择图片,仍然会跳转到获取文件管理权限的界面,返回提示Read Memory Card denied,无法选择图片,望解答

解决了吗,我也是这个问题。

@LuckSiege
Copy link
Owner

因为现在默认如果没权限会跳转至设置页面,如果在Android 12上没MANAGE_EXTERNAL_STORAGE权限,跳转设置就会报这个错误

@licoba
Copy link

licoba commented Jan 10, 2023

没解决这个问题鸭大佬子

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants