Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
react-native-firebase
Advanced tools
A well tested, feature rich Firebase implementation for React Native, supporting iOS & Android. Individual module support for Admob, Analytics, Auth, Crash Reporting, Cloud Firestore, Database, Dynamic Links, Messaging (FCM), Remote Config, Storage and Pe
RNFirebase makes using Firebase with React Native simple. It is a light-weight layer sitting on-top of the native Firebase libraries for both iOS and Android which mirrors the Firebase Web SDK as closely as possible.
Although the Firebase Web SDK library will work with React Native, it is mainly built for the web.
RNFirebase provides a JavaScript bridge to the native Firebase SDKs for both iOS and Android therefore Firebase will run on the native thread, allowing the rest of your app to run on the JS thread. The Firebase Web SDK also runs on the JS thread, therefore potentially affecting the frame rate causing jank with animations, touch events etc.
The native SDKs also allow us to hook into device sdk's which are not possible with the web SDK, for example crash reporting, offline realtime database support, analytics and more!
All in all, RNFirebase provides much faster performance (~2x) over the web SDK and provides device sdk's not found in the web sdk (see the feature table below).
The Web SDK column indicates what modules/functionality from the Web SDK are usable within React Native.
'?' indicates partial support
Firebase Features | v2.2.x | v3.3.x | v4.0.x | Web SDK |
---|---|---|---|---|
AdMob | ✅ | ✅ | ✅ | ❌ |
Analytics | ✅ | ✅ | ✅ | ❌ |
App Indexing | ❌ | ❌ | ❌ | ❌ |
Authentication | ✅ | ✅ | ✅ | ✅ |
-- Phone Auth | ❌ | ✅ | ✅ | ❌ |
Core | ? | ✅ | ✅ | ✅ |
-- Multiple Apps | ❌ | ✅ | ✅ | ✅ |
Cloud Firestore | ❌ | ✅ | ✅ | ? |
Cloud Messaging (FCM) | ? | ? | ✅ | ❌ |
Crashlytics | ❌ | ✅ | ✅ | ❌ |
Crash Reporting | ✅ | ✅ | ✅ | ❌ |
Dynamic Links | ❌ | ✅ | ✅ | ❌ |
Functions Callable | ❌ | ❌ | v4.1+ | ✅ |
Invites | ❌ | ❌ | ✅ | ❌ |
Instance ID | ❌ | ❌ | ? | ❌ |
Performance Monitoring | ✅ | ✅ | ✅ | ❌ |
Realtime Database | ✅ | ✅ | ✅ | ✅ |
-- Offline Persistence | ✅ | ✅ | ✅ | ? |
Remote Config | ✅ | ✅ | ✅ | ❌ |
Storage | ✅ | ✅ | ✅ | ? |
The table below shows the supported versions of React Native and the Firebase SDKs for different versions of
react-native-firebase
2.2.x | 3.3.x | 4.0.x | |
---|---|---|---|
React Native | 0.47 + | 0.50 + | 0.52 + |
Firebase Android SDK | 11.0.0 + | 11.8.0 + | 12.0.0 + |
Firebase iOS SDK | 4.0.0 + | 4.7.0 + | 4.11.0 + |
To check out our latest docs, visit rnfirebase.io
For questions and support please use our Discord chat or Stack Overflow. The issue list of this repo is exclusively for bug reports.
Please make sure to complete the issue template before opening an issue. Issues not conforming to the guidelines may be closed immediately.
For feature requests please use our Canny Board.
Detailed changes for each release are documented in the releases notes.
RNFirebase is an Apache-2.0 licensed open source project. It's an independent project with its ongoing development made possible entirely thanks to the support by these awesome sponsors and backers. If you'd like to join them, please consider:
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]
Thank you to all our backers! 🙏 [Become a backer]
Please make sure to read the Contributing Guide before making a pull request.
Thank you to all the people who have already contributed to RNFirebase!
FAQs
A well tested, feature rich Firebase implementation for React Native, supporting iOS & Android. Individual module support for Admob, Analytics, Auth, Crash Reporting, Cloud Firestore, Database, Dynamic Links, Functions, Messaging (FCM), Remote Config, Sto
The npm package react-native-firebase receives a total of 1,089 weekly downloads. As such, react-native-firebase popularity was classified as popular.
We found that react-native-firebase demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.