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 (0)