chore: bump @react-native-firebase/* 20.1.0 β 23.8.8#7319
chore: bump @react-native-firebase/* 20.1.0 β 23.8.8#7319janicduplessis merged 5 commits intodevelopfrom
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
8b0ec44 to
8284c5b
Compare
|
Important Companion PR: https://github.com/rainbow-me/rainbow-scripts/pull/217 (updates firebase native module whitelist path from Note TODO: Migrate firebase consumers from namespaced API to modular API β FEPLAT-80 |
|
Couple things from reviewing the diff + tracing the consumer files: Deprecation warnings flooding sentry breadcrumbs One-liner fixcould add this early in app init (e.g. index.js before firebase imports): globalThis.RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS = true(eventual migration to the modular API is a separate task, namespaced works fine until the next major afaics) Android gradle plugin versions GoogleAdsOnDeviceConversion pod |
05d0ae0 to
55c689d
Compare
|
π§ͺ Flashlight Performance Report (AWS Device Farm) π Commit: 94a76f5 π View Artifacts
|
fb8d257 to
5b8f3c4
Compare
β¦dle plugins - Set `RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGS` early in index.js so the namespaced-API deprecation `console.warn`s don't fill Sentry's breadcrumb budget on every cold start. - Bump google-services 4.3.15 β 4.4.4 and firebase-crashlytics-gradle 2.9.2 β 3.0.6 to match what react-native-firebase v23.8.8 recommends (crashlytics plugin was a major version behind, which can cause deobfuscation issues in crash reports).
5b8f3c4 to
abf1d41
Compare
After bumping `@react-native-firebase/*` from 20.1.0 to 23.8.8 in #7319 (Apr 2026), iOS users see both a system banner AND a notifee-displayed local notification when a push arrives while the app is foregrounded. Pre-bump behavior was the notifee notification only. The cause is upstream: invertase/react-native-firebase#8786 (merged Feb 2026, shipped in v23.8.5) reordered RNFB's iOS `willPresent` delegate so the original AppDelegate handler is called first. Previously, RNFB consumed the one-shot `completionHandler` with its own default options (empty, since we don't have a `firebase.json`) before forwarding to AppDelegate, making AppDelegate's `completionHandler([.sound, .badge, .list, .banner])` a no-op. With the new order, AppDelegate wins and iOS now honors the full `[.sound, .badge, .list, .banner]` set the handler has been quietly asking for since #6607 (Aug 2025). This change updates AppDelegate's `willPresent` to call `completionHandler([])`, which suppresses all iOS-side presentation for the FCM remote when foregrounded. Rainbow's user-visible foreground notification UI is rendered by notifee from the separate `onMessage` JS handler (`src/notifications/foregroundHandler.ts` β `notifee.displayNotification`). Letting iOS also present the FCM payload would duplicate Notification Center entries and add badge increments that pre-bump prod never had. Returning `[]` matches the pre-RNFB-23.8.5 default of `UNNotificationPresentationOptionNone`. Background and killed-app notifications are unaffected since this delegate only runs in the foreground case.
Fixes APP-3606, APP-3614
What changed (plus any additional context for devs)
Bumps the React Native Firebase suite from 20.1.0 to 23.8.8 β a major version jump that upgrades the underlying Firebase iOS SDK from v10 to v12 and the Android Firebase BoM accordingly.
@react-native-firebase/app,@react-native-firebase/messaging, and@react-native-firebase/remote-configpinned to 23.8.8.@lavamoat/allow-scriptsentries for two new transitive dependencies the upgrade brings in (protobufjs,@firebase/util).google-services4.4.4 andfirebase-crashlytics-gradle3.0.6. The crashlytics plugin was a major version behind, which can cause deobfuscation issues in crash reports.globalThis.RNFB_SILENCE_MODULAR_DEPRECATION_WARNINGSis set inindex.js. v23 deprecated the namespaced API (messaging().getToken(),remoteConfig().fetchAndActivate(), etc.) and emits aconsole.warnon every call; Sentry capturesconsole.warnas breadcrumbs, so without the flag ~7+ warnings fire on every cold start and blow through the breadcrumb budget before any useful crash diagnostics land. Migration to the modular API is tracked in FEPLAT-80.Heads-up for app store review / binary audits: Firebase iOS SDK v12 restructured analytics packaging and now transitively pulls in
GoogleAdsOnDeviceConversion 3.3.0viaGoogleAppMeasurement/Default. We don't use it, but it's compiled into the binary.Requires companion rainbow-scripts PR: https://github.com/rainbow-me/rainbow-scripts/pull/217 (updates native module whitelist paths from
lib/todist/module/for v23).Screen recordings / screenshots
N/A
What to test
Validation done
SUCCESS), remote config loaded (103 keys)fetchAndActivate: true)dapp_browserand other remote config flags resolve correctly