title: Firebase Rest API Authentication ID Token and Token Refresh in React Native
body: <p>Firebase Official docs says that Firebase Token ID of a user expires in 1 hour . to  generate a new token refresh token id is to be passed to an end point where in response the client receives new token id .</p>
  
  <p>So question is that to keep a persistent Loged in behaviour in my react native app while user is not using app in foreground for hours would i have to start a background service that refreshes Firebase Token ID after every hour?  or is their a better and easy way to keep firebase token id for users refreshed and keep user loged in.</p>