ArdenDev
ArdenDev

Reputation: 4191

Firebase database & local storage

Our iOS app uses CoreData as the local datastore and we use Firebase to sync the local data across devices. We also rely on FireBase for user authentication, so its just not the data sync. All our queries are done against the local database. This 'local db + Firebase' combination has worked well so far and we are starting to build the Android version.

With the new brand new Android code, we are debating if we should follow the same approach as iOS or just use ONLY the Firebase database.

Some features that are important to our app:

  1. Work completely offline (Firebase does a great job of syncing when there is online access)
  2. Have a single cloud database as the source of truth i.e. mimicking a server side database
  3. Reduce network usage, i.e. use it only when required
  4. Be able to perform a variety of queries on the data
  5. Real time data across devices (Firebase realtime sync is awesome )

Any disadvantages to our existing approach 'local db + Firebase' or what will we lose if we switch to using just the Firebase Database ?

Upvotes: 2

Views: 1936

Answers (1)

ArdenDev
ArdenDev

Reputation: 4191

FireBase just released FireStore which was built from the ground up to also support offline mode. Looking forward to test this

Upvotes: 0

Related Questions