百世创一
百世创一
  • 发布:2021-11-07 11:16
  • 更新:2024-07-21 12:32
  • 阅读:1870

google play发版遇到权限问题,急急急!

分类:uni-app

提交google play后,审核被拒绝。提示如下错误。

Issue: Need to use Media Store API or No Access to Files

You have requested access to All Files Access permission but it appears that your app's core feature requires access to only Media Files or does not need access to any Files. In case your app needs access to Media Files, with the MediaStore API, apps can contribute and access media that's available on an external storage volume without the need for the access all files permission.

Please update your app so that the feature uses Media Store APIs and remove All Files Access (MANAGE_EXTERNAL_STORAGE) permission.

Policy: All Files Access Permission

Files and directory attributes on a user's device are regarded as personal and sensitive user data subject to the Personal and Sensitive Information policy and the following requirements:

Apps should only request access to device storage which is critical for the app to function, and may not request access to device storage on behalf of any third-party for any purpose that is unrelated to critical user-facing app functionality.
Android devices running Android "R" (Android 11) or later, will require the MANAGE_EXTERNAL_STORAGE permission in order to manage access in shared storage. All apps that target R or later and request broad access to shared storage ("All files access") must successfully pass an appropriate access review prior to publishing. Apps allowed to use this permission must clearly prompt users to enable "All files access" for their app under "Special app access" settings. For more information on the R requirements, please see this help article.

Read more about Use of All Files Access Permission
See Android storage use cases and best practices and how to access media files from shared storage
Address this issue in the Play Console.

我看权限里没有要求MANAGE_EXTERNAL_STORAGE这个权限,只是READ_EXTERNAL_STORAGE和WRITE_EXTERNAL_STORAGE,这个问题如何解决?

2021-11-07 11:16 负责人:无 分享
已邀请:
百世创一

百世创一 (作者)

@DCloud_Android_ST 因为google play现在强制要求targetSdkVersion要到30,所以要支持Android 11,这个现在的uni.chooseImageg()的权限需要WRITE_EXTERNAL_STORAGE和READ_EXTERNAL_STORAGE,所以审核不过,不知道有什么解决方案没有。

zhengfuzhe

zhengfuzhe

请问大佬有解决这个问题么

nopilot

nopilot

同问

要回复问题请先登录注册