@@ -105,45 +105,46 @@ You can see the specific dependencies associated with each release on the
105
105
If you would like to use a newer version of one of FirebaseUI's transitive dependencies, such
106
106
as Firebase, Play services, or the Android support libraries, you need to add explicit
107
107
` implementation ` declarations in your ` build.gradle ` for all of FirebaseUI's dependencies at the version
108
- you want to use. For example if you want to use Play services/Firebase version ` FOO ` and support
109
- libraries version ` BAR ` add the following extra lines for each FirebaseUI module you're using:
108
+ you want to use. Here are some examples listing all of the critical dependencies:
110
109
111
110
#### Auth
112
111
113
112
``` groovy
114
- implementation "com.google.firebase:firebase-auth:$FOO"
115
- implementation "com.google.android.gms:play-services-auth:$FOO"
116
-
117
- implementation "com.android.support:design:$BAR"
118
- implementation "com.android.support:customtabs:$BAR"
119
- implementation "com.android.support:cardview-v7:$BAR"
113
+ implementation "com.google.firebase:firebase-auth:$X.Y.Z"
114
+ implementation "com.google.android.gms:play-services-auth:$X.Y.Z"
115
+
116
+ implementation "android.arch.lifecycle:extensions:$X.Y.Z"
117
+ implementation "androidx.browser:browser:$X.Y.Z"
118
+ implementation "androidx.cardview:cardview:$X.Y.Z"
119
+ implementation "androidx.constraintlayout:constraintlayout:$X.Y.Z"
120
+ implementation "androidx.legacy:legacy-support-v4:$X.Y.Z"
121
+ implementation "com.google.android.material:material:$X.Y.Z"
120
122
```
121
123
122
124
#### Firestore
123
125
124
126
``` groovy
125
- implementation "com.google.firebase:firebase-firestore:$FOO "
127
+ implementation "com.google.firebase:firebase-firestore:$X.Y.Z "
126
128
127
- implementation "com.android.support:recyclerview-v7:$BAR "
128
- implementation "com.android.support:support-v4:$BAR "
129
+ implementation "androidx.legacy:legacy-support-v4:$X.Y.Z "
130
+ implementation "androidx.recyclerview:recyclerview:$X.Y.Z "
129
131
```
130
132
131
133
#### Realtime Database
132
134
133
135
``` groovy
134
- implementation "com.google.firebase:firebase-database:$FOO "
136
+ implementation "com.google.firebase:firebase-database:$X.Y.Z "
135
137
136
- implementation "com.android.support:recyclerview-v7:$BAR "
137
- implementation "com.android.support:support-v4:$BAR "
138
+ implementation "androidx.legacy:legacy-support-v4:$X.Y.Z "
139
+ implementation "androidx.recyclerview:recyclerview:$X.Y.Z "
138
140
```
139
141
140
142
#### Storage
141
143
142
144
``` groovy
143
- implementation "com.google.firebase:firebase-storage:$FOO "
145
+ implementation "com.google.firebase:firebase-storage:$X.Y.Z "
144
146
145
- implementation "com.android.support:appcompat-v7:$BAR"
146
- implementation "com.android.support:palette-v7:$BAR"
147
+ implementation "androidx.legacy:legacy-support-v4:$X.Y.Z"
147
148
```
148
149
149
150
@@ -189,7 +190,7 @@ repositories {
189
190
Then you can depend on snapshot versions:
190
191
191
192
``` groovy
192
- implementation 'com.firebaseui:firebase-ui-auth:x.y.z -SNAPSHOT'
193
+ implementation 'com.firebaseui:firebase-ui-auth:$X.Y.Z -SNAPSHOT'
193
194
```
194
195
195
196
You can see which ` SNAPSHOT ` builds are avaiable here:
0 commit comments