Use Firebase DB with local DB
问题 In my app I have SQLite db . I want to introduce sync between devices of my users. Firebase DB looks like an acceptable solution, but Firebase DB 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. Now I think about combining my local SQLite db with cloud Firebase db . For example, when user adds new row to local SQLite db , my app will also put data into Firebase DB . Other devices of this user will catch this