我已经两次向苹果商店提交了我的应用程序,但由于获取用户信息(如位置)的隐私,它被拒绝了
我使用 EXPO 构建了我的项目,并在将 infoPlist 属性作为子项添加到 ios 对象后,如 EXPO 文档中所述
https://docs.expo.io/distribution/app-stores/#system-permissions-dialogs-on-ios
并按照此问题页面中的说明重建了一个新的二进制文件
https://github.com/expo/expo/issues/1570
仍然具有相同行为的应用程序并且权限请求没有被更改
请帮忙
{
"expo": {
"name": "xxx",
"slug": "xxx",
"privacy": "public",
"sdkVersion": "36.0.0",
"platforms": [
"ios",
"android",
"web"
],
"version": "3.0.1",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"bundleIdentifier": "xxx",
"supportsTablet": true,
"infoPlist" : {
"NSLocationAlwaysAndWhenInUseUsageDescription" :
"APP uses your location to get you accurate data about Prayer Times and Qibla Direction",
"NSLocationWhenInUseUsageDescription" :
"App uses your location to get you accurate data about Prayer Times and Qibla Direction",
"NSLocationAlwaysUsageDescription":
"App uses your location to get you accurate data about Prayer Times and Qibla Direction",
"NSLocationUsageDescription" :
"App uses your location to get you accurate data about Prayer Times and Qibla Direction",
"buildNumber" : "2.0.2",
"CFBundleVersion" : "2.0.2",
"CFBundleShortVersionString" : "2.0.1"
}
},
"android": {
"versionCode" : 5,
"package": "xxx"
}
}
}