title: How can I run background timer in React Native?
body: <p>Is there a way in react-native to run background tasks, that will execute even if the user clears cache or reboot his device(such as android native stopwatch)?</p>
  <p>I've tried to implement timer with this library <a href="https://github.com/Rapsssito/react-native-background-actions" rel="nofollow noreferrer">https://github.com/Rapsssito/react-native-background-actions</a>, but it works only when app is foreground or background, if I clear cache or reboot my device the backround service is stopped.</p>
  <p>Note: We can't calculate remaining time based on date, cause our timer supports offline usage(so we haven't server time), and if we refer on phone time, user can easily change date and broke timer.</p>