FirebaseUI (Android) – Adding the dependencies - Joklinz-Tech

Latest

Home Of Tech news,jobs and android tutorials

Sunday, 28 January 2018

FirebaseUI (Android) – Adding the dependencies

FirebaseUI is just an open-source library by Google that provides easy UI bindings for Firebase Auth and Firebase Database.
To begin adding FirebaseUI to your app, add these dependencies in your app’s build.gradle file:
android {
    // ...
}

dependencies {
    // Required for FirebaseUI Database
    compile 'com.google.firebase:firebase-database:9.4.0'
    compile 'com.firebaseui:firebase-ui-database:0.5.1'

    // FirebaseUI Auth only
    compile 'com.google.firebase:firebase-auth:9.4.0'
    compile 'com.firebaseui:firebase-ui-auth:0.5.1'

    // Single dependency if you're using both
    compile 'com.firebaseui:firebase-ui:0.5.1'
}

apply plugin: 'com.google.gms.google-services'

No comments:

Post a Comment