github invertase/react-native-firebase v24.0.0

latest releases: v24.1.1, v24.1.0
2 hours ago

⚠ BREAKING CHANGES

  • firestore: migrate to TypeScript and match firebase-js-sdk (#8892)
  • firestore: typescript - firestore types now match modular firebase-js-sdk - see migration guide

Please see https://rnfirebase.io/migrating-to-v24 for a guide on updating your types
if you were using the previous firestore typescript types.

In general everything should behave the same as v23 but the typescript types have changed. It is our hope you as a developer can adopt these changes easily and your app works exactly the same.

It is always our goal to be a drop-in replacement for firebase-js-sdk, type for type, API for API.
In general all firestore types should now be the same as the firestore modular types from firebase-js-sdk

  • functions: you must enable new architecture to use the functions module
    All modules will be converted to new architecture soon, old architecture support
    is deprecated in general for react-native-firebase

Features

  • firestore: Support for Firestore pipelines API (#8931) (54021c4)
  • firestore: implement withConverter (#8744) (13d6bb3)
  • ai: CodeExecutionTool types for allowing model to run code (#8866) (81a0f19)
  • ai: SearchEntryPoint in grounding metadata responses (#8894) (6a35bec)
  • ai: UrlContextTool to inform responses from provided URLs (#8893) (29cad20)
  • analytics, ios: add support for logTransaction (#8921) (1039e9a)
  • functions: convert functions to new architecture / drop functions old architecture (a2108bb)
  • functions: httpsCallable.stream support (#8799) (baae936)

Bug Fixes

  • analytics, android: use Parcelable for items serialization in logEvent (#8879) (96fad37)
  • app, android: avoid NullPointerException in isAppInForeground check (ff65344)
  • app, ios: adopt firebase-ios-sdk 12.9.0 (ad03c4e), closes /firebase.google.com/support/release-notes/ios#version1290-_february_3_2026
  • app, ios: generate app package module map for swift interop (58eb2ee)
  • app: general deprecation notice for old arch / specific error if module requires (2146bf7)
  • auth, web: avoid react-native-specific methods in web (06426f2)
  • auth: auto-register encoded app ID URL scheme for phone auth reCAPTCHA (#8902) (d2ddbf7)
  • deps: ios-sdk 12.10.0 / android-sdk 34.10.0 / js-sdk 12.10.0 (8a7acf3)
  • firestore, android: avoid native exception via reorder of listener detach before executor shutdown (#8940) (649e7ee), closes #8939
  • firestore: add explicit _apply to QueryConstraint subclasses (#8928) (f3941a0)
  • functions: make swift/objective-c interop work in non-use_frameworks! case (e085ddd)
  • messaging, expo: retrieve expo-notification config if available, then deprecated notification (#8663) (aa63174)
  • perf, android: gracefully handle metric/trace/screentrace nulls during module teardown (#8946) (ded0be2)
  • web: avoid react-native-specific polyfills on the web (e5685a0)

Reverts

  • Revert "test: disable new architecture in the test app" (27083d6)

Code Refactoring

  • firestore: migrate to TypeScript and match firebase-js-sdk (#8892) (dba7a2a)

Don't miss a new react-native-firebase release

NewReleases is sending notifications on new releases.