App missing NSLocation WhenInUseUsageDescriptio


#1

Our latest test flight builds are complaining “This app is missing NSLocationWhenInUseUsageDescription, so location services will fail. Add one of these keys to your bundle’s Info.plist.” Our previous builds were working, and we’ve confirmed that it is both in our app.json, and that the manifest is read correctly during the build. The JSON snippet below is from the build logs.

{
   "ios":{
      "buildNumber":"9",
      "bundleIdentifier":"---------",
      "infoPlist":{
         "NSCameraUsageDescription":"Take a profile picture",
         "NSLocationWhenInUseUsageDescription":"Some thing",
         "NSPhotoLibraryAddUsageDescription":"Select a profile picture"
      }
   },
}

#2

Hi there, we think this was an issue affecting iOS apps using SDK 25 or older which were built in the last 1 day or so. We deployed a change about 1 hour ago to our build service which should resolve the problem. Can you re-run exp build:ios and see if the resulting binary resolves this for you?


#3

Thanks @ben we’ll give that a try. Also, if you can, feel free to retitle this post. The title requirements were driving me craaaaaazy.


#4

@ben rebuilding did resolve that issue, but we started to see other strange permissions behavior. I’ve mentioned these to @aalices in this comment: Permissions.getAsync(Permissions.CAMERA_ROLL) “status=denied” when granted


closed #5

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.