Skip to content

Commit ef8c0d4

Browse files
authored
Clarify SDK compatibility
Fixes #218
1 parent 38ffb3c commit ef8c0d4

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,32 @@ dependencies {
4040

4141
After the project is synchronized, we're ready to start using Firebase functionality in our app.
4242

43+
### Compatibility with Firebase / Google Play Services Libraries
44+
45+
FirebaseUI libraries have the following transitive dependencies on the Firebase SDK:
46+
```
47+
firebase-ui-auth
48+
|--- com.google.firebase:firebase-auth
49+
|--- com.google.android.gms:play-services-auth
50+
51+
firebase-ui-database
52+
|--- com.google.firebase:firebase-database
53+
```
54+
55+
Each version of FirebaseUI has dependency on a fixed version of these libraries, defined as the variable `firebase_version`
56+
in `common/constants.gradle`. If you are using any dependencies in your app of the form
57+
`compile 'com.google.firebase:firebase-*:x.y.z'` or `compile 'com.google.android.gms:play-services-*:x.y.z'`
58+
you need to make sure that you use the same version that your chosen version of FirebaseUI requires.
59+
60+
For convenience, here are some examples:
61+
62+
| FirebaseUI Version | Firebase/Play Services Version |
63+
|--------------------|--------------------------------|
64+
| 0.4.3 | 9.2.1 |
65+
| 0.4.2 | 9.2.0 |
66+
| 0.4.1 | 9.0.2 |
67+
| 0.4.0 | 9.0.0 |
68+
4369
## Usage
4470

4571
* [firebase-ui-database](database/README.md)

0 commit comments

Comments
 (0)