Background Location error on iOS

Expo SDK: 37

In a managed standalone iOS client, I have this in app.json:

"ios": {
      "infoPlist": {
        "UIBackgroundModes": ["location"],

When calling Location.startLocationUpdatesAsync I get this error: “Background Location has not been configured. To enable it, add location to UIBackgroundModes in Info.plist file.”

Works fine on Android.

I’ve read through the documentation multiple times. One thing I’ve noted is: " Permissions.LOCATION permission must be granted. On iOS it must be granted with Always option"

I don’t see the “Always” option on iOS anymore, I see “When using the app”. Do I need to request the permission in a different way to get the “Always” option? I’m asking like this: Permissions.askAsync(Permissions.LOCATION)


Also filed here: Background Location Tracking not working on iOS · Issue #8349 · expo/expo · GitHub

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