Please provide the following:
- SDK Version: 36.0.0
- 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?