Get started with Background Geolocation in React Native

In this video you’ll learn how to do (background) geolocation in React Native. These are the parts I’ll show:

  • The 2 libraries available
  • How to get started with my preferred choice
  • How to rewrite example into functional component (hook)
  • How to implement location tracking, history and distance
  • How to work with the simulator to simulate movement using an existing app I built

Links to resources:

Article: https://everyday.codes/tutorials/how-to-do-background-geolocation-in-react-native/
Library 1: https://github.com/mauron85/react-native-background-geolocation
Library 2: https://github.com/transistorsoft/react-native-background-geolocation

Gist to hook:
https://gist.github.com/jonasgroendahl/c4fad8fa48f955b993d928e1c36d76f7

#react #react native

Get started with Background Geolocation in React Native