Repolode
invertase

invertase/react-native-firebase

A modular React Native library that wraps the native iOS and Android Firebase SDKs for services such as Auth, Firestore and Messaging.

Stars
12,319
Forks
2,331
Open issues
30
Last commit
4 hours ago

What is it?

React Native Firebase is a set of official React Native packages that connect an app to Firebase services. Each module is a thin JavaScript layer over the native Firebase SDKs on iOS and Android, so apps can use Firebase features from one JavaScript codebase.

The project ships separate packages for each service, including Authentication, Cloud Firestore, Realtime Database, Cloud Storage, Cloud Messaging, Cloud Functions, Analytics, Crashlytics, Performance Monitoring, Remote Config, In-app Messaging, App Check and AI. The main entry point is the App package, which the other modules depend on. The API mirrors the Firebase Web SDK, so code written for the web can often be reused in React Native.

The packages include TypeScript typings and reference documentation. The maintainers state that each module is tested to more than 95% coverage.

Key features

  • 01Separate packages for each Firebase service, installed individually.
  • 02Wraps the native iOS and Android Firebase SDKs.
  • 03API mirrors the Firebase Web SDK for code reuse.
  • 04Includes TypeScript typings.
  • 05Covers auth, databases, storage, messaging, analytics and crash reporting.

Use cases

  • Adding Firebase authentication and Firestore data to a React Native app.
  • Sending push notifications through Firebase Cloud Messaging in a mobile app.
  • Collecting crash reports and performance data from an iOS or Android app.
  • Sharing Firebase logic between a React Native app and a web app.

Quick start

  1. 1

    Open the Quick Start guide on rnfirebase.io and follow its installation steps

Things to know

  • Requires native iOS and Android Firebase SDK setup, so it is more involved than a pure JavaScript library.
  • The license could not be automatically identified from the metadata, so check the LICENSE file before use.

Topics

FAQ

What is react-native-firebase?
A modular React Native library that wraps the native iOS and Android Firebase SDKs for services such as Auth, Firestore and Messaging. React Native Firebase is a set of official React Native packages that connect an app to Firebase services. Each module is a thin JavaScript layer over the native Firebase SDKs on iOS and Android, so apps can use Firebase features from one JavaScript codebase.
Is react-native-firebase free to use? What license does it have?
react-native-firebase is open source under the Other license. Check the license terms before using it in commercial products.
Is react-native-firebase still maintained?
Actively maintained. The last commit to react-native-firebase was on Oct 21, 2026.
What can I use react-native-firebase for?
Adding Firebase authentication and Firestore data to a React Native app. Sending push notifications through Firebase Cloud Messaging in a mobile app. Collecting crash reports and performance data from an iOS or Android app. Sharing Firebase logic between a React Native app and a web app.
How do I install react-native-firebase?
Open the Quick Start guide on rnfirebase.io and follow its installation steps
Where can I get react-native-firebase?
The source code and installation instructions are on GitHub: https://github.com/invertase/react-native-firebase

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects