Arnav Vohra Arnav Vohra - 2 months ago 19
Android Question

How firebase persistence stores local data for my Android app

I am making an android app similar to WhatsApp.
In the app users can send text as well as images.
To save the messages so that they can be viewed offline I used :


I was wondering how does firebase store messages offline.

Does it create a local database similar to the commonly used sqlite?

Answer Source

firebaser here

The disk based local storage of the Firebase Database is a sqlite database that is structured opaquely in a way that your app shouldn't care about. The only way you should access the data is through the Firebase API.