How can I fetch the device location at regular intervals (every few seconds) even when my React Native app is running in the background?
I have tried the following methods:
- expo-location with expo-task-manager: It only fetches the location every 15 minutes, which does not meet my requirement.
- react-native-geolocation-service: This option requires a paid license.
I'm looking for a reliable solution or an alternative library that allows fetching location data every X seconds in the background. Any guidance or recommendations would be greatly appreciated!
Thank you!
Top comments (1)
Hey Keethran!
But today, I am stuck where you stucked one year ago , I hope you got the solution. Would you please share that with me ?