Firebase Cloud Firestore

Cloud Firestore code guideline for Android developers

Prerequisites

  • Supported Android 4.0.1 (Ice Cream Sandwich) or newer
  • Google Play services 11.4.2 or newer
  • Android Studio 2.3 or higher
  • google-services.json in app-level folder

Features

  • Add document with generated id
  • Add document with specific id
  • Fetch collection
  • Fetch document
  • Update single field
  • Update nested field
  • Batch multiple writers
  • Delete document
  • Delete field
  • Listener for document
  • Listener for multiple documents
  • Querying
  • Ordering and limit

Screenshots

Blog

Cloud Firestore