Skip to content

Commit

Permalink
feat(android, sdk): firebase-android-sdk 30.1.0
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
mikehardy committed May 27, 2022
1 parent 5271595 commit b0462d4
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/app-distribution/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Add the plugin to your `/android/build.gradle` file as a dependency:
buildscript {
dependencies {
// ...
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.0.0'
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.0.2'
}
```

Expand Down
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.8.1'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.0'
}
// ..
}
Expand Down
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,13 @@ project.ext {
minSdk : 19,
targetSdk : 31,
compileSdk: 31,
buildTools: "30.0.3"
buildTools: "31.0.0"
],
// Overriding Library SDK Versions
firebase: [
// Override Firebase SDK Version
bom : "29.2.1"
bom : "30.1.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.13.0'
$FirebaseSDKVersion = '8.15.0'
```

Once changed, reinstall your projects pods via pod install and rebuild your project with `npx react-native run-ios`.
Expand Down
6 changes: 5 additions & 1 deletion packages/app-distribution/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@ dependencies {
api appProject
implementation platform("com.google.firebase:firebase-bom:${ReactNative.ext.getVersion("firebase", "bom")}")
// TODO remove the specific version once it is out of beta and participates in bom versioning
implementation 'com.google.firebase:firebase-appdistribution:16.0.0-beta02'
implementation 'com.google.firebase:firebase-appdistribution-api:16.0.0-beta03'
// TODO demonstrate how to only include this in certain build variants
// - perhaps have firebase.json name the variants to include, then roll through variants here and only
// add the dependency to variants that match? Or... (PRs welcome...)
// implementation 'com.google.firebase:firebase-appdistribution:16.0.0-beta03'
}

ReactNative.shared.applyPackageVersion()
Expand Down
6 changes: 3 additions & 3 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@
"targetSdk": 31,
"compileSdk": 31,
"buildTools": "30.0.3",
"firebase": "30.0.2",
"firebaseCrashlyticsGradle": "2.8.1",
"firebase": "30.1.0",
"firebaseCrashlyticsGradle": "2.9.0",
"firebasePerfGradle": "1.4.1",
"gmsGoogleServicesGradle": "4.3.10",
"playServicesAuth": "20.1.0"
"playServicesAuth": "20.2.0"
}
}
}
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.8.1'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.0'
classpath(\\"com.android.tools.build:gradle:4.1.0\\")
// NOTE: Do not place your application dependencies here; they belong
Expand Down
10 changes: 5 additions & 5 deletions tests/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ buildscript {
ext.fragmentVersion = '1.4.0' // https://developer.android.com/jetpack/androidx/releases/fragment
ext.vectordrawableVersion = '1.1.0' // https://developer.android.com/jetpack/androidx/releases/vectordrawable
ext.androidxAnnotationVersion = '1.3.0' // https://developer.android.com/jetpack/androidx/releases/annotation
ext.googlePlayServicesLocationVersion = '18.0.0' // https://developers.google.com/android/guides/setup
ext.googlePlayServicesVersion = '18.0.0' // play-services-base
ext.googlePlayServicesAuthVersion = '20.0.0' // play-services-auth
ext.googlePlayServicesLocationVersion = '19.0.1' // https://developers.google.com/android/guides/setup
ext.googlePlayServicesVersion = '18.0.1' // play-services-base
ext.googlePlayServicesAuthVersion = '20.2.0' // play-services-auth
ext.googlePlayServicesVisionVersion = '20.1.3' // play-services-vision
ext.mediaCompatVersion = '1.4.3' // https://developer.android.com/jetpack/androidx/releases/media
ext.supportV4Version = '1.0.0' // https://developer.android.com/jetpack/androidx/releases/legacy androidx.legacy:legacy-support-v4
Expand All @@ -35,8 +35,8 @@ buildscript {
classpath 'com.android.tools.build:gradle:7.0.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath 'com.google.firebase:perf-plugin:1.4.1'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1'
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.0.1'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.0'
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.0.2'
}
}

Expand Down

1 comment on commit b0462d4

@vercel
Copy link

@vercel vercel bot commented on b0462d4 May 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.