Skip to content

Commit e9ef5ec

Browse files
feat!: bump Firebase android SDK to 34.0.0 (#8627)
BREAKING CHANGE: android minSdk now must be 23+ (was 21)
1 parent 0d9947c commit e9ef5ec

File tree

8 files changed

+22
-14
lines changed

8 files changed

+22
-14
lines changed

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,15 +312,15 @@ project.ext {
312312
versions: [
313313
// Overriding Build/Android SDK Versions
314314
android : [
315-
minSdk : 21, // 23+ if using auth module
315+
minSdk : 23,
316316
targetSdk : 33,
317317
compileSdk: 34,
318318
],
319319
320320
// Overriding Library SDK Versions
321321
firebase: [
322322
// Override Firebase SDK Version
323-
bom : "33.16.0"
323+
bom : "34.0.0"
324324
],
325325
],
326326
])

docs/migrating-to-v23.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,11 @@ The deprecation FAQ provides detailed guidance on how to migrate from Firebase D
4848
- All APIs will return error responses
4949

5050
Please refer to the official deprecation FAQ for complete migration guidance and support.
51+
52+
# Android Platform
53+
54+
- Android `minSdk` has been bumped from `21` to `23` (except Auth which already had a `minSdk` of `23`).
55+
- Auth play services has been bumped from `21.3.0` to `21.4.0`.
56+
- Crashlytics gradle plugin has been bumped from `3.0.4` to `3.0.5`.
57+
- Performance gradle plugin has been bumped from `1.4.2` to `2.0.0`.
58+
- App distribution gradle plugin has been bumped from `5.1.1` to `5.1.2`.

packages/app-distribution/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ dependencies {
9696
api appProject
9797
implementation platform("com.google.firebase:firebase-bom:${ReactNative.ext.getVersion("firebase", "bom")}")
9898
// TODO remove the specific version once it is out of beta and participates in bom versioning
99-
implementation 'com.google.firebase:firebase-appdistribution-api:16.0.0-beta15'
99+
implementation 'com.google.firebase:firebase-appdistribution-api:16.0.0-beta16'
100100
// TODO demonstrate how to only include this in certain build variants
101101
// - perhaps have firebase.json name the variants to include, then roll through variants here and only
102102
// add the dependency to variants that match? Or... (PRs welcome...)
103-
// implementation 'com.google.firebase:firebase-appdistribution:16.0.0-beta15'
103+
// implementation 'com.google.firebase:firebase-appdistribution:16.0.0-beta16'
104104
}
105105

106106
ReactNative.shared.applyPackageVersion()

packages/app-distribution/plugin/__tests__/__snapshots__/androidPlugin.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ buildscript {
1515
jcenter()
1616
}
1717
dependencies {
18-
classpath 'com.google.firebase:firebase-appdistribution-gradle:5.1.1'
18+
classpath 'com.google.firebase:firebase-appdistribution-gradle:5.1.2'
1919
classpath("com.android.tools.build:gradle:4.1.0")
2020
2121
// NOTE: Do not place your application dependencies here; they belong

packages/app/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@
8080
"tvosTarget": "13.0"
8181
},
8282
"android": {
83-
"minSdk": 21,
83+
"minSdk": 23,
8484
"targetSdk": 34,
8585
"compileSdk": 34,
86-
"firebase": "33.16.0",
87-
"firebaseCrashlyticsGradle": "3.0.4",
88-
"firebasePerfGradle": "1.4.2",
86+
"firebase": "34.0.0",
87+
"firebaseCrashlyticsGradle": "3.0.5",
88+
"firebasePerfGradle": "2.0.0",
8989
"gmsGoogleServicesGradle": "4.4.3",
90-
"playServicesAuth": "21.3.0",
91-
"firebaseAppDistributionGradle": "5.1.1"
90+
"playServicesAuth": "21.4.0",
91+
"firebaseAppDistributionGradle": "5.1.2"
9292
}
9393
}
9494
}

packages/auth/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ project.ext {
4747
set('react-native', [
4848
versions: [
4949
android : [
50-
minSdk : 23, // jsonMinSdk, this is temporarily higher than other modules
50+
minSdk : jsonMinSdk,
5151
targetSdk : jsonTargetSdk,
5252
compileSdk: jsonCompileSdk,
5353
],

packages/crashlytics/plugin/__tests__/__snapshots__/androidPlugin.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ buildscript {
1515
jcenter()
1616
}
1717
dependencies {
18-
classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.4'
18+
classpath 'com.google.firebase:firebase-crashlytics-gradle:3.0.5'
1919
classpath("com.android.tools.build:gradle:4.1.0")
2020
2121
// NOTE: Do not place your application dependencies here; they belong

packages/perf/plugin/__tests__/__snapshots__/androidPlugin.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ buildscript {
1515
jcenter()
1616
}
1717
dependencies {
18-
classpath 'com.google.firebase:perf-plugin:1.4.2'
18+
classpath 'com.google.firebase:perf-plugin:2.0.0'
1919
classpath("com.android.tools.build:gradle:4.1.0")
2020
2121
// NOTE: Do not place your application dependencies here; they belong

0 commit comments

Comments
 (0)