title: Use Firebase DB with local DB
body: <p>In my app I have <code>SQLite db</code>. I want to introduce sync between devices of my users. <code>Firebase DB</code> looks like an acceptable solution, but <code>Firebase DB</code> is cloud db at first. So, I can't use it as local db if user will reject auth dialog and let him use app, but without cloud-sync.</p>
  
  <p>Now I think about combining my <code>local SQLite db</code> with <code>cloud Firebase db</code>.</p>
  
  <p>For example, when user adds new row to <code>local SQLite db</code>, my app will also put data into <code>Firebase DB</code>. Other devices of this user will catch this event and update their local db. When the user uses authentification and installs app on new device, I want it to download all rows and put them into <code>local SQLite db</code>. That's my idea: use <code>Firebase DB</code> <em>only</em> for synchronizing data, not for storing it at device. Main reason for it is to let user use my app without authentification&amp;synchonization. The second is <code>that Firebase DB</code> is not designed to be used as local db.</p>
  
  <p>I'm right? <em>Is it okay to use Firebase DB with another local DB?</em></p>
  
  <p>Related question:</p>
  
  <p><a href="https://stackoverflow.com/questions/38796641/firebase-true-offline-capabilities">link</a> He want the same as I want:</p>
  
  <blockquote>
    <p>my plan is to offer the user the option to stay offline</p>
  </blockquote>