Repolode
firebase

firebase/quickstart-android

Firebase quickstart sample apps for Android, covering Auth, Firestore, Realtime Database, Messaging, Storage and more.

Stars
9,335
Forks
7,387
Open issues
62
Last commit
4 hours ago

What is it?

This repository is a collection of Android sample apps, each one showing how to use a single Firebase product. The samples cover Admob, Firebase AI Logic, Analytics, App Distribution, Auth, Remote Config, Crashlytics, Realtime Database, Data Connect, Firestore, Cloud Functions, In-App Messaging, Cloud Messaging, Performance Monitoring and Cloud Storage.

Each sample is an Android Studio project that can run on a physical device or emulator. To run one, you create a Firebase project in the Firebase console, register the sample's applicationId as the Android package name, and place the downloaded google-services.json file in the app/ directory. Several samples can share one Firebase project.

The samples are meant as starting points for developers integrating Firebase into their own Android apps, and each subfolder includes its own README with setup steps.

Key features

  • 01Separate sample app for each major Firebase product
  • 02Runnable as Android Studio projects on devices or emulators
  • 03Shared Firebase project supported across multiple samples
  • 04Covers auth, databases, messaging, storage, analytics and monitoring

Use cases

  • Learning how to add Firebase Auth or Firestore to a new Android app
  • Checking a specific Firebase API's usage before integrating it
  • Using the samples as a base for prototyping Firebase features

Quick start

  1. 1

    Open a sample app as an Android Studio project

  2. 2

    Create a Firebase project in the Firebase console and add the sample app using its applicationId

  3. 3

    Download google-services.json and copy it to the app/ directory of the sample

  4. 4

    Run the sample on a device or virtual device (AVD)

Things to know

  • Samples are not standalone; each requires your own Firebase project and a google-services.json file.
  • Each sample must be opened and run separately in Android Studio.

Topics

FAQ

What is quickstart-android?
Firebase quickstart sample apps for Android, covering Auth, Firestore, Realtime Database, Messaging, Storage and more. This repository is a collection of Android sample apps, each one showing how to use a single Firebase product. The samples cover Admob, Firebase AI Logic, Analytics, App Distribution, Auth, Remote Config, Crashlytics, Realtime Database, Data Connect, Firestore, Cloud Functions, In-App Messaging, Cloud Messaging, Performance Monitoring and Cloud Storage.
Is quickstart-android free to use? What license does it have?
quickstart-android is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
Is quickstart-android still maintained?
Actively maintained. The last commit to quickstart-android was on Oct 21, 2026.
What can I use quickstart-android for?
Learning how to add Firebase Auth or Firestore to a new Android app Checking a specific Firebase API's usage before integrating it Using the samples as a base for prototyping Firebase features
How do I install quickstart-android?
Open a sample app as an Android Studio project Create a Firebase project in the Firebase console and add the sample app using its applicationId Download google-services.json and copy it to the app/ directory of the sample Run the sample on a device or virtual device (AVD)
Where can I get quickstart-android?
The source code and installation instructions are on GitHub: https://github.com/firebase/quickstart-android

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects