Skip to content

Commit

Permalink
fix(android, sdk): bump firebase-android-sdk + versions in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy committed Jan 22, 2022
1 parent eb58323 commit 8bda4be
Show file tree
Hide file tree
Showing 7 changed files with 203 additions and 180 deletions.
23 changes: 23 additions & 0 deletions docs/app-distribution/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,29 @@ yarn add @react-native-firebase/app-distribution
cd ios/ && pod install
```

## Add the App Distribution Plugin

> This module does not handle Expo config plugins yet but does require a native integration similar to the perf module. If you want to add support for Expo to the App Distribution module we would welcome a PR!
On Android, you need to install the Google App Distribution Plugin.

Add the plugin to your `/android/build.gradle` file as a dependency:

```groovy
buildscript {
dependencies {
// ...
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.0.0'
}
```

Apply the plugin via the `/android/app/build.gradle` file (at the top):

```groovy
apply plugin: 'com.android.application'
apply plugin: 'com.google.firebase.appdistribution'
```

# What does it do

Firebase App Distribution gives a holistic view of your beta testing program across iOS and Android, providing you with valuable feedback before a new release is in production. You can send pre-release versions of your app using the console or your CI servers, and installing your app is easy for testers.
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ project.ext {
// Overriding Library SDK Versions
firebase: [
// Override Firebase SDK Version
bom : "29.0.1"
bom : "29.0.4"
],
],
])
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.10.0'
$FirebaseSDKVersion = '8.11.0'
```

Once changed, reinstall your projects pods via pod install and rebuild your project with `npx react-native run-ios`.
Expand Down
2 changes: 1 addition & 1 deletion docs/perf/usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Add the plugin to your `/android/build.gradle` file as a dependency:
buildscript {
dependencies {
// ...
classpath 'com.google.firebase:perf-plugin:1.4.0'
classpath 'com.google.firebase:perf-plugin:1.4.1'
}
```

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": "29.0.3",
"firebase": "29.0.4",
"firebaseCrashlyticsGradle": "2.8.1",
"firebasePerfGradle": "1.4.0",
"firebasePerfGradle": "1.4.1",
"gmsGoogleServicesGradle": "4.3.10",
"playServicesAuth": "20.0.0"
"playServicesAuth": "20.0.1"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.google.firebase:perf-plugin:1.4.0'
classpath 'com.google.firebase:perf-plugin:1.4.1'
classpath(\\"com.android.tools.build:gradle:4.1.0\\")
// NOTE: Do not place your application dependencies here; they belong
Expand Down
4 changes: 2 additions & 2 deletions tests/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ buildscript {
classpath 'com.google.gms:google-services:4.3.10' // https://developers.google.com/android/guides/google-services-plugin
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.0'
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:2.2.0'
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.0.0'
}
}

Expand Down
Loading

0 comments on commit 8bda4be

Please sign in to comment.