Member-only story
Cloud Firestore Basics in Android
How to Get, Add, Edit, and Delete Data in Cloud Firestore, with Real App Examples
In this post, I will be demonstrating how to do the basic database operations in Cloud Firestore in an Android App, using a published app I built as a practical example.
You will learn how to implement the core database operations in Cloud Firestore: how to get (read), add (write), edit, and delete data in the database in an Android app.
Note: This article does not cover setting up Cloud Firestore, Firebase Authentication for Android, and documents/collections in Cloud Firestore, which are prerequisites for this tutorial. If you are unfamiliar with these topics, I highly encourage you to read Evana Margain’s article to set up Cloud Firestore, read how to implement FirebaseUI for authentication, and watch this video to learn about documents and collections in Cloud Firestore before returning to this article.
Reply App Background
Reply is an Android app I built from scratch and published to the Google Play Store. I will use this app to provide clear, practical examples of…