Is TaskManager available for bare expo projects?

Please provide the following:

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

I’m building using expo bare workflow and I’m wanting to have background geolocation for my jogging app.

So when they’re jogging, the phone is sleep mode or on lock screen, it needs to run background geolocation.

I did the initial setup using @react-native-community/geolocation & expo-locations:
a) used Geolocation.getCurrentLocation() - works well. (only when app is active)
b) used Location.watchPositionAsync() - works well. (only when app is active)

I need to use Task Manager in conjunction with Location.startLocationUpdatesAsync() BUT documentation says " It is not yet available for bare React Native apps. If you’re using the bare workflow, React Native’s Headless JS might suit your needs."

This post though says it’s currently in the works for 32.0.0 SDK

Possible to get an update?

The Expo team has apparently not had time to do this because of too much other work to do.

Here’s the issue:

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