title: run android background task in react-native
body: <p>I want to create an ability in my <code>react-native</code> android app to send my user <code>geolocation</code> to the server for each period of time, even if he closed the app!
  so probably it means i have to run some thing like a task for run on Os(android) from a <code>NativeModule</code>.(and you can recommend better solution if you have).</p>
  
  <p>but after spending many time on searching i have not found any example of creating a job or process which can keep running if app closed.  can any body give some clue about it ?</p>
  
  <p><strong>Update:</strong> i can ask my question like this to: how can i run a process for keep execute if app has closed in react native?</p>