Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 33 additions & 33 deletions docs/releases/v5.5.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,22 +93,22 @@ npm install --save react-native-firebase@latest

### Android - Update Dependencies

1) In `android/app/build.gradle`, update all the firebase and gms dependencies to the following versions:

- **com.google.android.gms:play-services-base**:{{ android.gms.play-services-base }}
- **com.google.firebase:firebase-core**:{{ android.firebase.core }}
- **com.google.firebase:firebase-ads**:{{ android.firebase.ads }}
- **com.google.firebase:firebase-auth**:{{ android.firebase.auth }}
- **com.google.firebase:firebase-config**:{{ android.firebase.config }}
- **com.google.firebase:firebase-database**:{{ android.firebase.database }}
- **com.google.firebase:firebase-functions**:{{ android.firebase.functions }}
- **com.google.firebase:firebase-invites**:{{ android.firebase.invites }}
- **com.google.firebase:firebase-dynamic-links**:{{ android.firebase.links }}
- **com.google.firebase:firebase-firestore**:{{ android.firebase.firestore }}
- **com.google.firebase:firebase-messaging**:{{ android.firebase.messaging }}
- **com.google.firebase:firebase-perf**:{{ android.firebase.perf }}
- **com.google.firebase:firebase-storage**:{{ android.firebase.storage }}
- **com.crashlytics.sdk.android:crashlytics**:{{ android.firebase.crashlytics }}
1) In `android/app/build.gradle`, update all the firebase and gms dependencies to the following versions. Note that we recommend the 'bom' (Bill Of Materials) style now, it is much easier to maintain coordinated versions. We intend to be compatible with new versions as they come out, currently the `bom` is `22.2.0`:

```groovy
implementation platform("com.google.firebase:firebase-bom:22.2.0")
implementation "com.google.firebase:firebase-core"
implementation "com.google.firebase:firebase-auth"
implementation "com.google.firebase:firebase-analytics"
implementation "com.google.firebase:firebase-perf"
implementation "com.google.firebase:firebase-config"
implementation "com.google.firebase:firebase-functions"
implementation "com.google.firebase:firebase-storage"
implementation "com.google.firebase:firebase-dynamic-links"
implementation "com.google.firebase:firebase-firestore"
implementation "com.google.firebase:firebase-messaging"
implementation 'com.crashlytics.sdk.android:crashlytics'
```

Note that you may be able to use the AndroidX versions with [jetifier](https://github.com/mikehardy/jetifier) - it appears to be tested and working but is not directly supported.

Expand All @@ -118,7 +118,7 @@ Note that you may be able to use the AndroidX versions with [jetifier](https://g

```groovy
// ...
classpath 'com.android.tools.build:gradle:3.4.1'
classpath 'com.android.tools.build:gradle:3.5.0'
// ...
```

Expand All @@ -128,7 +128,7 @@ classpath 'com.android.tools.build:gradle:3.4.1'

```groovy
// ...
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.google.gms:google-services:4.3.2'
// ...
```

Expand All @@ -138,7 +138,7 @@ classpath 'com.google.gms:google-services:4.2.0'

```groovy
// ...
classpath 'com.google.firebase:perf-plugin:1.2.1'
classpath 'com.google.firebase:perf-plugin:1.3.1'
// ...
```

Expand All @@ -156,24 +156,24 @@ apply plugin: "com.google.firebase.firebase-perf"

> These versions are almost all new from 5.4.x

v5.5.x supports iOS SDK version `5.19.0` and above; however it is recommended to update to `v6.2.0` and lock the versions specifically in your `Podfile`:
v5.5.x supports iOS SDK version `5.19.0` and above, and v5.5.4 and higher support iOS SDK version `6.3.0` and above; it is always a good idea to lock the versions specifically in your `Podfile` but any versions in the 6.x range should work (currently they are at 6.8.1 but will of course increment regularly with google releases):

```ruby
pod 'Firebase/AdMob', '~> 6.2.0'
pod 'Firebase/Auth', '~> 6.2.0'
pod 'Firebase/Core', '~> 6.2.0'
pod 'Firebase/Database', '~> 6.2.0'
pod 'Firebase/Functions', '~> 6.2.0'
pod 'Firebase/DynamicLinks', '~> 6.2.0'
pod 'Firebase/Firestore', '~> 6.2.0'
pod 'Firebase/Messaging', '~> 6.2.0'
pod 'Firebase/RemoteConfig', '~> 6.2.0'
pod 'Firebase/Storage', '~> 6.2.0'
pod 'Firebase/Performance', '~> 6.2.0'
pod 'Firebase/AdMob', '~> 6.8.1'
pod 'Firebase/Auth', '~> 6.8.1'
pod 'Firebase/Core', '~> 6.8.1'
pod 'Firebase/Database', '~> 6.8.1'
pod 'Firebase/Functions', '~> 6.8.1'
pod 'Firebase/DynamicLinks', '~> 6.8.1'
pod 'Firebase/Firestore', '~> 6.8.1'
pod 'Firebase/Messaging', '~> 6.8.1'
pod 'Firebase/RemoteConfig', '~> 6.8.1'
pod 'Firebase/Storage', '~> 6.8.1'
pod 'Firebase/Performance', '~> 6.8.1'

# Crashlytics
pod 'Fabric', '~> 1.10.1'
pod 'Crashlytics', '~> 3.13.1'
pod 'Fabric', '~> 1.10.2'
pod 'Crashlytics', '~> 3.14.0'
```

----
Expand Down