Skip to content

Latest commit

 

History

History
65 lines (47 loc) · 1.79 KB

upgrade-to-6.0.md

File metadata and controls

65 lines (47 loc) · 1.79 KB

Upgrading to FirebaseUI 6.0

Note: FirebaseUI versions 6.0.0 and 6.0.1 contain critical issues. Please use version 6.0.2 or later.

FirebaseUI version 6.0.0 has no breaking API changes from version 5.1.0 but updates critical dependencies to new major versions.

There are two major groups of changes:

  • Convert all Android Support Library dependencies to AndroidX or Jetpack dependencies. For information on migrating to AndroidX see this guide.
  • Update all Firebase and Google Play services dependencies to their latest major versions. For information on changes included in these SDKs visit the release notes.

Below is a comprehensive list of all of the relevant dependencies for each module of FirebaseUI.

Auth

androidx.browser:browser:1.0.0
androidx.cardview:cardview:1.0.0
androidx.constraintlayout:constraintlayout:1.1.3
androidx.lifecycle:lifecycle-extensions:2.1.0
androidx.legacy:legacy-support-v4:1.0.0
com.google.android.material:material:1.0.0
com.google.android.gms:play-services-auth:17.0.0
com.google.firebase:firebase-auth:19.0.0

Common

androidx.annotation:annotation:1.1.0
androidx.lifecycle:lifecycle-runtime:2.1.0
androidx.lifecycle:lifecycle-viewmodel:2.1.0

Database

androidx.legacy:legacy-support-v4:1.0.0
androidx.recyclerview:recyclerview:1.0.0
com.google.firebase:firebase-database:19.1.0

Firestore

androidx.legacy:legacy-support-v4:1.0.0
androidx.recyclerview:recyclerview:1.0.0
com.google.firebase:firebase-firestore:21.1.1

Storage

androidx.legacy:legacy-support-v4:1.0.0
com.google.firebase:firebase-storage:19.0.1