In accordance with the requirements of the Ministry of Industry and Information Technology for the special rectification of App user rights infringement, the application's privacy policy must describe the purpose of each permission used in detail. (Note: The specific purpose for each developer's App may vary. Developers must fill in the descriptions based on their actual usage.)
To facilitate developers in configuring permission purpose descriptions, you can configure them in project.miniapp.json. The relevant configuration details are as follows:
- Developers must enter the correct permission purpose in the input field. The recommended format is "Request XXX permission for XXXX," which clearly describes both the permission name and its purpose. Failure to do so may lead to user rejection or rejection during app store listing review.
- Example: After configuring the purpose for
android.permission.CAMERA, when calling APIs such as saving to the album, a configured authorization prompt will appear at the top simultaneously with the system authorization dialog. The interaction reference is as follows:
- If certain permissions are detected during app store listing review but are not actually used, and the app store rejects the listing due to undeclared purposes, you can switch
project.miniapp.jsonto JSON format and remove the relevant permission items using theuselessPermissionsparameter, as shown below:
- If you need to add certain Android permissions that are not supported in the visual configuration of
project.miniapp.json, developers can switchproject.miniapp.jsonto JSON format and add the relevant permission items using thepermissionsparameter. Permissions with theandroid.permission.prefix can be added directly. Example: