title: How to store data correspondingly with user id token React Native and Firebase?
body: <p>I'm a newbie in React Native and struggling in storing data within each user logging in the app</p>
  
  <p>I've successfully added Firebase google authentication into my app which is a trip app. (I use react-native-firebase library)</p>
  
  <p>Here are the data in the flow:</p>
  
  <pre><code>1. User chooses locations
  2. User choose date, name
  3. App generates a list of trips for users ( trips are stored in Redux, displayed by FlatList)
  </code></pre>
  
  <p>Since, we use only Google authentication, we also have the token of that user and the <code>uid</code> of Firebase authentication as well.</p>
  
  <p><em>So how can we store that token, so next time when user open the app again, it will sign in silently? And how can I attach those lists of trips for each user ? Like when user login again, he/she will see his/her trips made before</em></p>
  
  <p>I'd be happy to learn articles or reading resources for understanding the working progress. Like what requirements are( cloud, data base,..), or what stages needed to be done... (code is not required)</p>
  
  <p><strong>Please help</strong></p>