ACCESS_BACKGROUND_LOCATION permission missing in android

Please provide the following:

  1. SDK Version: 36
  2. Platforms(Android/iOS/web/all): android

I am trying to use Location.startLocationUpdatesAsync on android but it doesnt work when the app is backgrounded. It works perfectly on iOS. I think that it could be not having the background location permission. I took a look at expo/LocationModule.java at master · expo/expo · GitHub and the permission is not requested there. According to the guide here: Request location updates  |  Android Developers the example shows that requesting ACCESS_BACKGROUND_LOCATION is needed in order to work.

2 Likes

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