FirebaseUI libraries have the following transitive dependencies on the Firebase SDK:
firebase-ui-auth
|--- com.google.firebase:firebase-auth
|--- com.google.android.gms:play-services-auth
firebase-ui-database
|--- com.google.firebase:firebase-database
firebase-ui-firestore
|--- com.google.firebase:firebase-firestore
firebase-ui-storage
|--- com.google.firebase:firebase-storage
You can see the specific dependencies associated with each release on the Releases page.
Upgrading dependenciesIf you would like to use a newer version of one of FirebaseUI's transitive dependencies, such as Firebase, Play services, or the Android support libraries, you need to add explicit implementation
declarations in your build.gradle
for all of FirebaseUI's dependencies at the version you want to use. Here are some examples listing all of the critical dependencies:
implementation "com.google.firebase:firebase-auth:$X.Y.Z"
implementation "com.google.android.gms:play-services-auth:$X.Y.Z"
implementation "androidx.lifecycle:lifecycle-extensions:$X.Y.Z"
implementation "androidx.browser:browser:$X.Y.Z"
implementation "androidx.cardview:cardview:$X.Y.Z"
implementation "androidx.constraintlayout:constraintlayout:$X.Y.Z"
implementation "androidx.legacy:legacy-support-v4:$X.Y.Z"
implementation "com.google.android.material:material:$X.Y.Z"
Firestore
implementation "com.google.firebase:firebase-firestore:$X.Y.Z"
implementation "androidx.legacy:legacy-support-v4:$X.Y.Z"
implementation "androidx.recyclerview:recyclerview:$X.Y.Z"
Realtime Database
implementation "com.google.firebase:firebase-database:$X.Y.Z"
implementation "androidx.legacy:legacy-support-v4:$X.Y.Z"
implementation "androidx.recyclerview:recyclerview:$X.Y.Z"
Storage
implementation "com.google.firebase:firebase-storage:$X.Y.Z"
implementation "androidx.legacy:legacy-support-v4:$X.Y.Z"
Sample app
There is a sample app in the app/
directory that demonstrates most of the features of FirebaseUI. Load the project in Android Studio and run it on your Android device to see a demonstration.
Before you can run the sample app, you must create a project in the Firebase console. Add an Android app to the project, and copy the generated google-services.json file into the app/
directory. Also enable anonymous authentication for the Firebase project, since some components of the sample app requires it.
If you encounter a version incompatibility error between Android Studio and Gradle while trying to run the sample app, try disabling the Instant Run feature of Android Studio. Alternatively, update Android Studio and Gradle to their latest versions.
A note on importing the project using Android Studio: Using 'Project from Version Control' will not automatically link the project with Gradle (issue #1349). When doing so and opening any build.gradle.kts
file, an error shows up: Project 'FirebaseUI-Android' isn't linked with Gradle
. To resolve this issue, please git checkout
the project manually and import with Import from external model
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4