Firebase quickstart sample apps for Android, covering Auth, Firestore, Realtime Database, Messaging, Storage and more.
firebase/FirebaseUI-Android
Open-source Android UI library that connects common UI components to Firebase Auth, Firestore, Realtime Database and Cloud Storage.
- Stars
- 4,806
- Forks
- 1,869
- Open issues
- 8
- Last commit
- 11 hours ago
What is it?
FirebaseUI for Android is a set of UI binding libraries that let Android developers wire common interface elements directly to Firebase services. It is split into separate modules for Firebase Auth, Cloud Firestore, Firebase Realtime Database and Cloud Storage, so an app only pulls in the parts it uses.
Each module declares a transitive dependency on the matching Firebase SDK, so applications do not need to add those SDKs separately. The project also documents upgrade paths between major versions and includes a sample app that demonstrates most of the features, which requires a Firebase project with a google-services.json file.
The library is written in Kotlin, is published to Maven under the com.firebaseui group, and has a companion FirebaseUI client for iOS.
Key features
- 01Separate modules for Firebase Auth, Firestore, Realtime Database and Cloud Storage
- 02Transitively pulls in the matching Firebase SDK for each module
- 03Written in Kotlin and published to Maven
- 04Includes a sample app covering most features
- 05Provides migration guides for major version upgrades
Use cases
- Adding a ready-made sign-in flow to an Android app backed by Firebase Auth
- Binding a RecyclerView to a Cloud Firestore query
- Displaying Realtime Database records in list views without writing adapter code
- Loading and showing images or files stored in Cloud Storage
Quick start
- 1
Add the FirebaseUI library for the Firebase API you need to app/build.gradle
- 2
Sync the project in Android Studio, then follow the module guide (for example, the Auth README)
Things to know
- Using it requires a Firebase project and backend services set up in the Firebase console.
- The firebase-ui-auth module needs extra configuration beyond the basic dependency.
- Snapshot builds come with no guarantees and are hosted on a separate repository.
Topics
FAQ
- What is FirebaseUI-Android?
- Open-source Android UI library that connects common UI components to Firebase Auth, Firestore, Realtime Database and Cloud Storage. FirebaseUI for Android is a set of UI binding libraries that let Android developers wire common interface elements directly to Firebase services. It is split into separate modules for Firebase Auth, Cloud Firestore, Firebase Realtime Database and Cloud Storage, so an app only pulls in the parts it uses.
- Is FirebaseUI-Android free to use? What license does it have?
- FirebaseUI-Android is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
- Is FirebaseUI-Android still maintained?
- Actively maintained. The last commit to FirebaseUI-Android was on Oct 21, 2026.
- What can I use FirebaseUI-Android for?
- Adding a ready-made sign-in flow to an Android app backed by Firebase Auth Binding a RecyclerView to a Cloud Firestore query Displaying Realtime Database records in list views without writing adapter code Loading and showing images or files stored in Cloud Storage
- How do I install FirebaseUI-Android?
- Add the FirebaseUI library for the Firebase API you need to app/build.gradle Sync the project in Android Studio, then follow the module guide (for example, the Auth README)
- Where can I get FirebaseUI-Android?
- The source code and installation instructions are on GitHub: https://github.com/firebase/FirebaseUI-Android
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A modular React Native library that wraps the native iOS and Android Firebase SDKs for services such as Auth, Firestore and Messaging.
Angular bindings for the Firebase JS SDK, providing dependency injection, RxJS observables and Angular-friendly APIs for Firebase services.
A set of Flutter plugins that let Flutter apps use Firebase services such as Auth, Firestore, Messaging and Analytics.
Open-source source code for Firebase's Apple platform SDKs, covering auth, Firestore, storage, messaging and more for iOS apps.
Open-source Android app that identifies songs playing nearby, using AudD, ACRCloud and Shazam recognition services.