一直提示以下错误
Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage
We noticed that your app requests the user’s consent to access their camera but does not clarify the use of this feature in the permission modal alert.
Next Steps
To resolve this issue, please revise the permission modal alert to specify why the app is requesting access to the user's camera.
The permission request alert should specify how your app will use this feature to help users understand why your app is requesting access to their personal data.
Resources
For additional information and instructions on configuring and presenting an alert, please review the Requesting Permission section of the iOS Human Interface Guidelines and the Information Property List Key Reference. You may also want to review the Technical Q&A QA1937: Resolving the Privacy-Sensitive Data App Rejection page for details on how to provide a usage description for permission request alerts.
Learn more about Protecting the User’s Privacy.
也在mainfest.json中配置了相关plistcmds,配置如下:
"plistcmds": [
"Set :NSContactsUsageDescription 需要您同意才能获得您的通信录,允许吗?",
"Set :NSMicrophoneUsageDescription 需要您同意才能录音发语音消息,允许吗?",
"Set :NSPhotoLibraryUsageDescription 需要您同意才能获取到相册图片,允许吗?",
"Set :NSCameraUsageDescription 需要您同意才能扫一扫商品或拍摄其他照片,允许吗?",
"Set :NSPhotoLibraryAddUsageDescription 需要您同意才能添加相片到图库,允许吗?",
"Set :NSLocationAlwaysUsageDescription 需要您同意才能获得您的地理位置,允许吗?",
"Set :NSLocationWhenInUseUsageDescription 获得地理位置,为您更便捷获得你所在城市的资讯,允许吗?",
"Set :NSLocationAlwaysAndWhenInUseUsageDescription 需要一直获取您的地理位置信息,允许吗?"
]
8***@qq.com (作者)
谢谢,已经解决了
2018-08-22 10:35
秋天无风
回复 8***@qq.com:怎么解决的啊?我也遇到这种问题了。
2018-09-12 14:50