title: Can you track background geolocation with React Native?
body: <h3>Problem</h3>
  <p>I'd like to be able to track a users location even when the app is no longer in the foreground (e.g. The user has switch to another app or switched to the home screen and locked their phone).</p>
  <p>The use case would be a user tracking a run. They could open the app and press 'start' at the beginning of their run, then switch or minimise the app (press the home button) and lock the screen. At the end of the run they could bring the app into the foreground and press 'stop' and the app would tell them distance travelled on the run.</p>
  <h3>Question</h3>
  <p>Is tracking background geolocation possible on both iOS and Android using pure react native?</p>
  <p>The react native docs on geolocation (<a href="https://facebook.github.io/react-native/docs/geolocation" rel="noreferrer">https://facebook.github.io/react-native/docs/geolocation</a>) are not very clear or detailed. The documented linked above eludes to background geolocation on iOS (without being fully clear) but does not mention Android.</p>
  <p>Would it be best that I use Expo?</p>