In the recent review of the application market, several submissions were rejected or even removed from the app store and re-submitted after adjustment. Mainly include:
① When entering the app for the first time, the app illegally collects MAC, IMEI and other personal information without the user’s consent
② There is privacy non-compliance in the application: Reading personal information without permission. After understanding the permission description and protocol description, the application was modified as follows, which was considered to be the ideal state. The following is the detailed configuration of manif.json
1, APP permission configuration (only need to apply for the application needs to apply, other removal, otherwise to explain and may not review)
Manifest.json configuration: AndroidAsk.dcloud.net.cn/article/349…
2. Configure the popup prompt when entering the software for the first time, and proceed with the specific popup authorization agreement after the user agrees (important).
Refer to the official article: mobile storage, access the Android platform application startup, speaking, reading and writing equipment information (such as IMEI) access policy and prompt information – DCloud q&a: ask.dcloud.net.cn/article/365… Android platform with privacy policy prompt box configuration method – DCloud q&a: ask.dcloud.net.cn/article/369… First effect:
The manifest. Json configuration:Where a tag to change their own privacy address/local page jump eg: “online address:
<a href='https://cn.bing.com/'>
Copy the code
Or local address:
<a href='\/pages/index/index\'>
Copy the code
Ps: As required by Huawei, “disagree for now” in the picture should be changed to “disagree and exit App”.
Important: Do not forget to add the application permission popup description
Finally configure the source code (for reference only) :
"Privacy" : {"prompt" : "template", "template" : {"title" : "service protocol and privacy policy ", "message" : "Please carefully read and fully understand the terms of the Service Agreement and Privacy Policy, including but not limited to: To better provide services to you, we need to collect your device ID, operation logs and other information for analyzing and optimizing application performance. You can read < br / > < a href = "https://www.baidu.com/" > "service agreement" < / a > and < a href = "https://cn.bing.com/" > < / a > "privacy policy" for details. If you agree, please click the button below to start accepting our services." , "buttonAccept" : "agree ", "buttonRefuse" :" disagree and exit App", "second" : {"title" : "tips ", "message" : "Before accessing the app, you must agree to the <a href='https://www.baidu.com/'> Service Agreement </a> and <a href='https://cn.bing.com/'> Privacy Policy </a> or you will exit the app." , "buttonAccept" : "agree and continue ", "buttonRefuse" :" exit app ", /* distribute: {/* Android package configuration */ "Android" : { "permissions" : [ "<uses-feature android:name=\"android.hardware.CAMERA\"/>", <uses-feature android:name= "android.hardware. Camera "/>", / / filter does not support the camera with autofocus equipment "< USES - feature android: name = \" android. Hardware. Camera. An autofocus \ "/ >". / / filter does not support the camera with autofocus equipment "< USES - permission android: name = \". Android. Permission ACCESS_NETWORK_STATE \ "/ >". / / for network information "< USES - permission android: name = \" android. Permission. ACCESS_WIFI_STATE \ "/ >". / / get wifi information "< USES - permission android: name = \" android. Permission. CHANGE_NETWORK_STATE \ "/ >". / / change of network state "< USES - permission android: name = \" android. Permission. CHANGE_WIFI_STATE \ "/ >". / / change the wifi state "< USES - permission android: name = \" android. Permission. INTERNET \ "/ >". <uses-permission android:name=\"android.permission.READ_LOGS\"/>", / / read system log "< USES - permission android: name = \" android. Permission. RECORD_AUDIO \ "/ >". / / to record voice "< USES - permission android: name = \" android. Permission. MODIFY_AUDIO_SETTINGS \ "/ >". <uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>", <uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>", / / allow the program to install applications "< USES - permission android: name = \" android. Permission. INSTALL_PACKAGES \ "/ >". / / allow to read and write system Settings "< USES - permission android: name = \" android. Permission. SYSTEM_ALERT_WINDOW \ "/ >". / / allow programs display system window "< USES - permission android: name = \" android. Permission. RECEIVE_USER_PRESENT \ "/ >", / / allow receiving when users appear, namely the screen light of broadcasting. "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>" // allow background run], / * to apply for access to mobile phone store permissions * / "permissionExternalStorage" : {" request ":" once ", "prompt" : "The application saves running status and other information, and needs to obtain the permission to read and write the mobile phone storage (the system prompts access to photos, media content and files on the device), please allow." }, "permissionPhoneState" : {"request" : "once", "prompt" : "To ensure normal and safe use of the device, you need to obtain the device identification code (some mobile phones prompt you to obtain the mobile phone number) permission, please allow." }},} -- The above is the privacy configuration of our own APP for reference only.Copy the code
More detailed look at the official explanation: uniapp. Dcloud. IO/app/android…