diff --git a/.mx/known_dependencies.json b/.mx/known_dependencies.json index ea74c9c7..6be9983b 100644 --- a/.mx/known_dependencies.json +++ b/.mx/known_dependencies.json @@ -1,7 +1,7 @@ { - "@react-native-firebase/app": "20.1.0", - "@react-native-firebase/messaging": "20.1.0", - "@react-native-firebase/crashlytics": "20.1.0", + "@react-native-firebase/app": "21.14.0", + "@react-native-firebase/messaging": "21.14.0", + "@react-native-firebase/crashlytics": "21.14.0", "react-native-notify-kit": "10.4.7", "react-native-maps": "1.20.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 432c7c4c..b3f2b44e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - We fixed an issue on iOS where a deep link that cold started the app was not delivered to React Native, causing `Linking.getInitialURL()` to return `null`. - We removed some unused Android Permissions coming in from Manifest mergers. +### Changes + +- We updated react-native-firebase (`@react-native-firebase/app`, `@react-native-firebase/messaging` and `@react-native-firebase/crashlytics`) from v20.1.0 to v21.14.0, which uses Firebase iOS SDK v11.11.0. This resolves a CocoaPods dependency conflict with react-native-vision-camera-barcode-scanner v5 (GoogleMLKit v9.0.0) on iOS. +- We updated the Android Firebase BoM from v33.1.1 to v33.12.0 to match react-native-firebase v21.14.0. +- We made this Native Template version the minimum required version for Barcode Scanner widget v4.6.0 or above (Native Mobile Resources version 12.6.0 or above) on iOS when push notifications are enabled. Older Native Template versions will fail to build in this setup. + ## [19.1.6] - 2026-09-16 - We migrated iOS to the UIKit scene delegate lifecycle. diff --git a/android/build.gradle b/android/build.gradle index e0813280..39843172 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -44,13 +44,10 @@ buildscript { project.ext { set('react-native', [ versions: [ - // Override Firebase BOM version to avoid updating to react-native-firebase 20.2.0+, - // which adds many new node_modules increasing the size significantly. - // Affected dependencies include the entire react-native-firebase suite e.g.: - // @react-native-firebase/app, @react-native-firebase/analytics, @react-native-firebase/crashlytics, @react-native-firebase/messaging - // NOTE: If updating to react-native-firebase 20.2.0+ is done, this override should be removed. + // Firebase BOM used by react-native-firebase and android/app/build.gradle (firebaseBomVersion). + // Keep in sync with sdkVersions.android.firebase of the @react-native-firebase/app version in .mx/known_dependencies.json. firebase: [ - bom: "33.1.1" + bom: "33.12.0" ], ], ])