Skip to content

Commit b0462d4

Browse files
committed
feat(android, sdk): firebase-android-sdk 30.1.0
- handles multi-process apps in crashlytics now - has some built in screen fragment performance timing features - app distribution (still beta) has an API + impl split for play store review safety
1 parent 5271595 commit b0462d4

File tree

7 files changed

+19
-15
lines changed

7 files changed

+19
-15
lines changed

docs/app-distribution/usage/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Add the plugin to your `/android/build.gradle` file as a dependency:
3434
buildscript {
3535
dependencies {
3636
// ...
37-
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.0.0'
37+
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.0.2'
3838
}
3939
```
4040

docs/crashlytics/android-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ buildscript {
4040
// ..
4141
dependencies {
4242
// ..
43-
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1'
43+
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.0'
4444
}
4545
// ..
4646
}

docs/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,13 @@ project.ext {
186186
minSdk : 19,
187187
targetSdk : 31,
188188
compileSdk: 31,
189-
buildTools: "30.0.3"
189+
buildTools: "31.0.0"
190190
],
191191
192192
// Overriding Library SDK Versions
193193
firebase: [
194194
// Override Firebase SDK Version
195-
bom : "29.2.1"
195+
bom : "30.1.0"
196196
],
197197
],
198198
])
@@ -207,7 +207,7 @@ Open your projects `/ios/Podfile` and add any of the globals shown below to the
207207

208208
```ruby
209209
# Override Firebase SDK Version
210-
$FirebaseSDKVersion = '8.13.0'
210+
$FirebaseSDKVersion = '8.15.0'
211211
```
212212

213213
Once changed, reinstall your projects pods via pod install and rebuild your project with `npx react-native run-ios`.

packages/app-distribution/android/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,11 @@ dependencies {
9191
api appProject
9292
implementation platform("com.google.firebase:firebase-bom:${ReactNative.ext.getVersion("firebase", "bom")}")
9393
// TODO remove the specific version once it is out of beta and participates in bom versioning
94-
implementation 'com.google.firebase:firebase-appdistribution:16.0.0-beta02'
94+
implementation 'com.google.firebase:firebase-appdistribution-api:16.0.0-beta03'
95+
// TODO demonstrate how to only include this in certain build variants
96+
// - perhaps have firebase.json name the variants to include, then roll through variants here and only
97+
// add the dependency to variants that match? Or... (PRs welcome...)
98+
// implementation 'com.google.firebase:firebase-appdistribution:16.0.0-beta03'
9599
}
96100

97101
ReactNative.shared.applyPackageVersion()

packages/app/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@
7272
"targetSdk": 31,
7373
"compileSdk": 31,
7474
"buildTools": "30.0.3",
75-
"firebase": "30.0.2",
76-
"firebaseCrashlyticsGradle": "2.8.1",
75+
"firebase": "30.1.0",
76+
"firebaseCrashlyticsGradle": "2.9.0",
7777
"firebasePerfGradle": "1.4.1",
7878
"gmsGoogleServicesGradle": "4.3.10",
79-
"playServicesAuth": "20.1.0"
79+
"playServicesAuth": "20.2.0"
8080
}
8181
}
8282
}

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:2.8.1'
18+
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.0'
1919
classpath(\\"com.android.tools.build:gradle:4.1.0\\")
2020
2121
// NOTE: Do not place your application dependencies here; they belong

tests/android/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ buildscript {
1515
ext.fragmentVersion = '1.4.0' // https://developer.android.com/jetpack/androidx/releases/fragment
1616
ext.vectordrawableVersion = '1.1.0' // https://developer.android.com/jetpack/androidx/releases/vectordrawable
1717
ext.androidxAnnotationVersion = '1.3.0' // https://developer.android.com/jetpack/androidx/releases/annotation
18-
ext.googlePlayServicesLocationVersion = '18.0.0' // https://developers.google.com/android/guides/setup
19-
ext.googlePlayServicesVersion = '18.0.0' // play-services-base
20-
ext.googlePlayServicesAuthVersion = '20.0.0' // play-services-auth
18+
ext.googlePlayServicesLocationVersion = '19.0.1' // https://developers.google.com/android/guides/setup
19+
ext.googlePlayServicesVersion = '18.0.1' // play-services-base
20+
ext.googlePlayServicesAuthVersion = '20.2.0' // play-services-auth
2121
ext.googlePlayServicesVisionVersion = '20.1.3' // play-services-vision
2222
ext.mediaCompatVersion = '1.4.3' // https://developer.android.com/jetpack/androidx/releases/media
2323
ext.supportV4Version = '1.0.0' // https://developer.android.com/jetpack/androidx/releases/legacy androidx.legacy:legacy-support-v4
@@ -35,8 +35,8 @@ buildscript {
3535
classpath 'com.android.tools.build:gradle:7.0.4'
3636
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
3737
classpath 'com.google.firebase:perf-plugin:1.4.1'
38-
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1'
39-
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.0.1'
38+
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.0'
39+
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.0.2'
4040
}
4141
}
4242

0 commit comments

Comments
 (0)