mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-05-11 15:36:52 +08:00
- [dependencies][android] remove all Firebase SDKs in favour of Firebase BoM
- [android] upgrade to Android X - [android] upgrade gradle wrapper to v5.4.1 - [android][ios][tests] remove manual packages & enable auto-linking - [tests][internal] upgrade tests project to RN 60 - [ios] temporarily remove framework support in pods - broken in RN 60 - see https://github.com/facebook/react-native/issues/25349 - [linting] switch to use rn community linting rules
This commit is contained in:
@@ -4,7 +4,7 @@ buildscript {
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.4.0'
|
||||
classpath 'com.android.tools.build:gradle:3.4.2'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,12 +24,8 @@ project.ext {
|
||||
buildTools: "28.0.3"
|
||||
],
|
||||
|
||||
googlePlayServices: [
|
||||
base: "16.1.0",
|
||||
],
|
||||
|
||||
firebase : [
|
||||
_template_: "16.0.8"
|
||||
bom: "21.1.0"
|
||||
],
|
||||
],
|
||||
])
|
||||
@@ -56,8 +52,8 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
api project(':@react-native-firebase_app')
|
||||
implementation "com.google.firebase:firebase-_template_:${ReactNative.ext.getVersion("firebase", "_template_")}"
|
||||
implementation "com.google.android.gms:play-services-base:${ReactNative.ext.getVersion("googlePlayServices", "base")}"
|
||||
implementation platform("com.google.firebase:firebase-bom:${ReactNative.ext.getVersion("firebase", "bom")}")
|
||||
implementation "com.google.firebase:firebase-_template_"
|
||||
}
|
||||
|
||||
ReactNative.shared.applyPackageVersion()
|
||||
|
||||
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
|
||||
|
||||
Reference in New Issue
Block a user