Skip to content

Commit

Permalink
build(deps)!: firebase-android-sdk 29.0.0, API19 minimum
Browse files Browse the repository at this point in the history
BREAKING CHANGE: firebase-android-sdk 29 requires android/build.gradle minSdkVersion 19 (as required in react-native 0.64+)
  • Loading branch information
mikehardy committed Oct 31, 2021
1 parent 29de3b8 commit 5dd2c80
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/crashlytics/android-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ buildscript {
// ..
dependencies {
// ..
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.7.1'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.0'
}
// ..
}
Expand Down
12 changes: 6 additions & 6 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,16 +183,16 @@ project.ext {
versions: [
// Overriding Build/Android SDK Versions
android : [
minSdk : 16,
targetSdk : 30,
compileSdk: 30,
buildTools: "30.0.2"
minSdk : 19,
targetSdk : 31,
compileSdk: 31,
buildTools: "30.0.3"
],
// Overriding Library SDK Versions
firebase: [
// Override Firebase SDK Version
bom : "28.3.1"
bom : "29.0.0"
],
],
])
Expand All @@ -207,7 +207,7 @@ Open your projects `/ios/Podfile` and add any of the globals shown below to the

```ruby
# Override Firebase SDK Version
$FirebaseSDKVersion = '8.5.0'
$FirebaseSDKVersion = '8.9.0'
```

Once changed, reinstall your projects pods via pod install and rebuild your project with `npx react-native run-ios`.
Expand Down
6 changes: 3 additions & 3 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@
"firebase": "8.9.0"
},
"android": {
"minSdk": 16,
"minSdk": 21,
"targetSdk": 31,
"compileSdk": 31,
"buildTools": "30.0.3",
"firebase": "28.4.2",
"firebaseCrashlyticsGradle": "2.7.1",
"firebase": "29.0.0",
"firebaseCrashlyticsGradle": "2.8.0",
"firebasePerfGradle": "1.4.0",
"gmsGoogleServicesGradle": "4.3.10",
"playServicesAuth": "19.2.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.7.1'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.0'
classpath(\\"com.android.tools.build:gradle:4.1.0\\")
// NOTE: Do not place your application dependencies here; they belong
Expand Down
2 changes: 1 addition & 1 deletion tests/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ buildscript {
classpath 'com.android.tools.build:gradle:7.0.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath 'com.google.firebase:perf-plugin:1.4.0'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.7.1'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.0'
classpath 'com.google.firebase:firebase-appdistribution-gradle:2.2.0'
}
}
Expand Down

0 comments on commit 5dd2c80

Please sign in to comment.