react-native-firebase

๐Ÿ”ฅ A well-tested feature-rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for all Firebase services.

AI Prompts & Specs

Repository: invertase/react-native-firebase


Stars: 12281

README.md

<p align="center">
<a href="https://rnfirebase.io">
<img width="160px" src="https://i.imgur.com/JIyBtKW.png"><br/>
</a>
<h2 align="center">React Native Firebase</h2>
</p>

<p align="center">
<a href="https://www.npmjs.com/package/@react-native-firebase/app"><img src="https://img.shields.io/npm/dm/@react-native-firebase/app.svg?style=flat-square" alt="NPM downloads"></a>
<a href="https://www.npmjs.com/package/@react-native-firebase/app"><img src="https://img.shields.io/npm/v/@react-native-firebase/app.svg?style=flat-square" alt="NPM version"></a>
<a href="/LICENSE"><img src="https://img.shields.io/npm/l/@react-native-firebase/app.svg?style=flat-square" alt="License"></a>
<a href="https://lerna.js.org/"><img src="https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg?style=flat-square" alt="Maintained with Lerna"></a>
</p>

<p align="center">
<a href="https://invertase.link/discord"><img src="https://img.shields.io/discord/295953187817521152.svg?style=flat-square&colorA=7289da&label=Chat%20on%20Discord" alt="Chat on Discord"></a>
<a href="https://twitter.com/rnfirebase"><img src="https://img.shields.io/twitter/follow/rnfirebase.svg?style=flat-square&colorA=1da1f2&colorB=&label=Follow%20on%20Twitter" alt="Follow on Twitter"></a>
<a href="https://www.facebook.com/groups/rnfirebase"><img src="https://img.shields.io/badge/Follow%20on%20Facebook-4172B8?logo=facebook&style=flat-square&logoColor=fff" alt="Follow on Facebook"></a>
</p>

---

React Native Firebase is a collection of official React Native modules connecting you to Firebase services; each module is a light-weight JavaScript layer connecting you to the native Firebase SDKs for both iOS and Android.

React Native Firebase is built with four key principles in mind;

- ๐Ÿงช Well tested
- every module is extensively tested to >95% coverage
- ๐Ÿ‘ Well typed
- first class support for Typescript included
- ๐Ÿ“„ Well documented
- full reference & installation documentation alongside detailed guides and FAQs
- ๐Ÿ”ฅ Mirrors official Firebase Web SDK
- functions as a drop-in replacement for the Firebase Web SDK in React Native
- maximizes cross-platform code re-usability e.g. re-using code on web platforms

Firebase Modules

This is the root of the mono-repo for React Native Firebase, if you're looking for a specific package please select the package link from below.

The main package that you interface with is App (@react-native-firebase/app)

| Name | Downloads |
| -------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| AI | ![badge](https://www.npmjs.com/package/@react-native-firebase/ai) |
| Analytics | ![badge](https://www.npmjs.com/package/@react-native-firebase/analytics) |
| App | ![badge](https://www.npmjs.com/package/@react-native-firebase/app) |
| App Check | ![badge](https://www.npmjs.com/package/@react-native-firebase/app-check) |
| App Distribution | ![badge](https://www.npmjs.com/package/@react-native-firebase/app-distribution) |
| Authentication | ![badge](https://www.npmjs.com/package/@react-native-firebase/auth) |
| Cloud Firestore | ![badge](https://www.npmjs.com/package/@react-native-firebase/firestore) |
| Cloud Functions | ![badge](https://www.npmjs.com/package/@react-native-firebase/functions) |
| Cloud Messaging | ![badge](https://www.npmjs.com/package/@react-native-firebase/messaging) |
| Cloud Storage | ![badge](https://www.npmjs.com/package/@react-native-firebase/storage) |
| Crashlytics | ![badge](https://www.npmjs.com/package/@react-native-firebase/crashlytics) |
| Dynamic Links | ![badge](https://www.npmjs.com/package/@react-native-firebase/dynamic-links) |
| In-app Messaging | ![badge](https://www.npmjs.com/package/@react-native-firebase/in-app-messaging) |
| Installations | ![badge](https://www.npmjs.com/package/@react-native-firebase/installations) |
| ML | ![badge](https://www.npmjs.com/package/@react-native-firebase/ml) |
| Performance Monitoring | ![badge](https://www.npmjs.com/package/@react-native-firebase/perf) |
| Realtime Database | ![badge](https://www.npmjs.com/package/@react-native-firebase/database) |
| Remote Config | ![badge](https://www.npmjs.com/package/@react-native-firebase/remote-config) |

Documentation

- Quick Start
- Reference API

Looking for the Version 5 documentation? View legacy documentation.

Contributing

- Overview
- Issues
- PRs
- Documentation
- Community
- Code of Conduct

License

- See LICENSE

---

<p align="center">
<a href="https://invertase.io/?utm_source=readme&utm_medium=footer&utm_campaign=react-native-firebase">
<img width="75px" src="https://static.invertase.io/assets/invertase/invertase-rounded.png">
</a>
<p align="center">
Built and maintained by <a href="https://invertase.io/?utm_source=readme&utm_medium=footer&utm_campaign=react-native-firebase">Invertase</a>.
</p>
</p>