原创

MUI-发布-配置地理位置权限-摄像头和相册-苹果-AppStore-manifest.json-plistcmds

地理位置权限隐私声明不生效 ,但是摄像头和相册的权限隐私声明生效

Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage

We noticed that your app requests the user’s consent to access their Location
but does not clarify the use of this feature in the permission modal alert.

Please see attached screenshots for details.

Next Steps

To resolve this issue, please revise the permission modal alert to specify
why the app is requesting access to the user's Location.

manifest.json配置

在plus->distribute->apple节点下添加plistcmds,数据类型为Array,
开发者可复制以下代码到manifest.json文件中并根据实际使用情况进行增减

"apple": {
"appid": "",
"mobileprovision": "",
"password": "",
"p12": "",
"devices": "universal",
"frameworks": [],
"plistcmds": [
"Set :NSLocationWhenInUseUsageDescription 说明使用用户地理位置的原因",
"Set :NSLocationAlwaysUsageDescription 说明持续获取用户地理位置的原因",
"Set :NSLocationAlwaysAndWhenInUseUsageDescription 说明总是在使用时获取用户地理位置的原因",//180809 新增 关键
"Set :NSCameraUsageDescription 说明使用用户相机的原因",
"Set :NSContactsUsageDescription 说明读取用户通讯录的原因",
"Set :NSMicrophoneUsageDescription 说明使用麦克风的原因",
"Set :NSPhotoLibraryUsageDescription 说明读取用户相册的原因",
"Set :NSPhotoLibraryAddUsageDescription 说明向用户相册添加图片的原因"
],
"idfa":false
},


正文到此结束
本文目录