I’ve gone through the docs a few times and I just can’t figure out why this won’t work. Here’s the iOS portion of my app.json
"ios": {
"supportsTablet": true,
"bundleIdentifier": "buzz.qualify.iphone",
"buildNumber": "11",
"icon": "./assets/icon-ios.png",
"infoPlist": {
"NSCameraUsageDescription": "Qualify uses your camera to allow you to upload and share photos with other users",
"NSLocationWhenInUseUsageDescription": "Qualify requires your location to match you with other users.",
"NSPhotoLibraryUsageDescription": "Qualify uses your photo library to allow you to upload and share photos with other users"
},
"config": {
"usesNonExemptEncryption": false,
"branch": {
"apiKey": "key_live_****"
}
}
},
However, we’re getting denied because the modal says Allow "Qualify" to access your location while you are using the app?
with the subtext Allow QUalify to use your location
.
There is no usage of the string that I added through the `infoPlist configuration. This has caused us about a week and our users are waiting for an update.
This is the only code asking for location, so we’re surely not asking for background location.
if (Constants.isDevice) {
let {
status
} = await Permissions.askAsync(
Permissions.LOCATION
)
let position = await Location.getCurrentPositionAsync(
{}
)
if (position && position.coords) {
profileData.latitude =
position.coords.latitude
profileData.longitude =
position.coords.longitude
}
}