<Firebase Persistance Data not work offline in And...
# stackoverflow
r
Firebase Persistance Data not work offline in Android kotlin app I'm creating a chat app, and I'm trying to save messages so that users can see them even offline. The messages are inside the Firebase Real Time DB. I tried following the documentation and some other questions/answers found. I put these two lines of code in the fragments and activity that I use: Firebase.database.setPersistenceEnabled(true) UtilsPersistance.database object UtilsPersistance { private var mDatabase: FirebaseDatabase? = null val database: FirebaseDatabase?...