Relative Content

Tag Archive for androidfirebasefirebase-realtime-database

Update calculation values ​in Firebase RealTime Database

I created a simple database, when the user enters new data a database is created to calculate the number of posts entered by the user and it works well in the add-on, the problem is that during the deletion process the database is not updated by decreasing the value, i.e. if it was 1 and when deleting, it is supposed to become 0, for those who do not, the value remains 1

Understanding and Optimizing Offline Support with Firebase Realtime Database and Firestore

Description: I am developing an Android application that uses Firebase to manage customer data, with a focus on offline support. Initially, I used Firestore, but I encountered issues with recording data offline when the device was in airplane mode: (25.0.0) [WriteStream]: (ed20259) Stream closed with status: Status{code=UNAVAILABLE, description=Unable to resolve host firestore.googleapis.com, cause=java.lang.RuntimeException: java.net.UnknownHostException: Unable […]