I am creating a react native app for location tracking so I wanted to know how can I work with it.
Requirements:
- Start tracking location on button click.
- Fetch both foreground and background location.
- Fetch location even when the app is killed.
- Application needs to work with latest Android Version.
Please let me know how can I complete all the above requirements with stable packages.
Probably your best bet is to use this library, you have to pay a license tho.
react-native-background-geolocation