File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 33buildscript {
44 repositories {
55 google()
6- jcenter ()
6+ mavenCentral ()
77 }
88
99 dependencies {
@@ -16,7 +16,7 @@ apply plugin: 'com.android.library'
1616def DEFAULT_COMPILE_SDK_VERSION = 27
1717def DEFAULT_BUILD_TOOLS_VERSION = " 27.0.3"
1818def DEFAULT_TARGET_SDK_VERSION = 27
19- def DEFAULT_FIREBASE_VERSION = " 17.0.0 "
19+ def DEFAULT_FIREBASE_BOM_VERSION = " 28.4.1 "
2020def DEFAULT_SUPPORT_LIB_VERSION = " 27.0.0"
2121
2222
@@ -47,12 +47,13 @@ repositories {
4747
4848dependencies {
4949 // noinspection GradleCompatible
50- def firebaseVersion = rootProject. hasProperty(' firebaseVersion ' ) ? rootProject. firebaseVersion : DEFAULT_FIREBASE_VERSION
50+ def firebaseBOMVersion = rootProject. hasProperty(' firebaseBOMVersion ' ) ? rootProject. firebaseVersion : DEFAULT_FIREBASE_BOM_VERSION
5151 def supportLibVersion = rootProject. hasProperty(' supportLibVersion' ) ? rootProject. supportLibVersion : DEFAULT_SUPPORT_LIB_VERSION
5252 implementation " com.android.support:appcompat-v7:$supportLibVersion "
5353 implementation " com.facebook.react:react-native:+"
54- implementation " com.google.firebase:firebase-auth:$firebaseVersion "
55- implementation (" com.google.firebase:firebase-analytics:$firebaseVersion " ){
54+ implementation platform(" com.google.firebase:firebase-bom:$firebaseBOMVersion " )
55+ implementation " com.google.firebase:firebase-auth"
56+ implementation(' com.google.firebase:firebase-analytics' ) {
5657 exclude module : " play-services-ads-identifier"
5758 exclude module : " play-services-measurement"
5859 exclude module : " play-services-measurement-sdk"
You can’t perform that action at this time.
0 commit comments