EXPO startLocationUpdatesAsync doesn't work

Please provide the following:

  1. SDK Version: 38
  2. Platforms(Android/iOS/web/all): android, ios

Hello, Expo Team.

I’m building one app using expo location background.
expo-location : 8.3.0
expo-task-manager: 8.4.0

This is my code
await Location.startLocationUpdatesAsync(LOCATION_TASK_NAME, {
accuracy: Location.Accuracy.BestForNavigation,
showsBackgroundLocationIndicator : false,
timeInterval: 5000
TaskManager.defineTask(LOCATION_TASK_NAME, async ({ data, error }) => {

if (error) {




if (data) {

const { locations } = data;



On ios, if I close the app, the service doesn’t work. So there aren’t any changes on my server.
But if the app is foreground and background, it works fine.

On Android, the service is working fine on foreground
But if the app is background and closed, it doesn’t work fine.
The gps icon on status bar is disapperared…

What’s the problem?
What do I fix…

Do I need to eject?
I don’t want to eject and love EXPO…

Kind Regards…

1 Like

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