Skip to content

Commit a27cb1b

Browse files
authored
Merge pull request #1095 from mendix/chore/update-firebase-master
[MOO-1912]: React Native Firebase update
2 parents 092d4d5 + 85c4cb0 commit a27cb1b

4 files changed

Lines changed: 19 additions & 28 deletions

File tree

.mx/known_dependencies.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"@react-native-firebase/app": "17.3.0",
3-
"@react-native-firebase/messaging": "17.3.0",
4-
"@react-native-firebase/crashlytics": "17.3.0",
2+
"@react-native-firebase/app": "20.1.0",
3+
"@react-native-firebase/messaging": "20.1.0",
4+
"@react-native-firebase/crashlytics": "20.1.0",
55
"@notifee/react-native": "9.1.8",
66
"react-native-maps": "0.31.1"
77
}

android/build.gradle

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,22 @@ buildscript {
3636
}
3737
}
3838

39+
40+
project.ext {
41+
set('react-native', [
42+
versions: [
43+
// Override Firebase BOM version to avoid updating to react-native-firebase 20.2.0+,
44+
// which adds many new node_modules increasing the size significantly.
45+
// Affected dependencies include the entire react-native-firebase suite e.g.:
46+
// @react-native-firebase/app, @react-native-firebase/analytics, @react-native-firebase/crashlytics, @react-native-firebase/messaging
47+
// NOTE: If updating to react-native-firebase 20.2.0+ is done, this override should be removed.
48+
firebase: [
49+
bom: "33.1.1"
50+
],
51+
],
52+
])
53+
}
54+
3955
allprojects {
4056
repositories {
4157
all { repo ->

intermediary-patches/@react-native-firebase+messaging+17.3.0.patch

Lines changed: 0 additions & 21 deletions
This file was deleted.

patches/apply-patches.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ const patchOperations = [
77
{
88
dependency: "react-native-geocoder",
99
patchFile: "react-native-geocoder+0.5.0.patch"
10-
},
11-
{
12-
dependency: "@react-native-firebase/app",
13-
patchFile: "@react-native-firebase+messaging+17.3.0.patch"
1410
}
1511
];
1612

0 commit comments

Comments
 (0)