npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@devshack/react-native-firebase

v4.2.2

Published

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

Downloads

14

Readme

Introduction

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).


Supported Firebase Features

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.2.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             |   ❌   |   ❌   |   ✅ |   ✅   | | Invites | ❌ | ❌ | ✅ | ❌ | | Instance ID          | ❌ | ❌ | ? | ❌ | | Performance Monitoring | ✅ | ✅ | ✅ | ❌ | | Realtime Database | ✅ | ✅ | ✅ | ✅ | | -- Offline Persistence | ✅ | ✅ | ✅ | ? | | Remote Config | ✅ | ✅ | ✅ | ❌ | | Storage | ✅ | ✅ | ✅ | ? |


Supported versions - React Native / Firebase

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 | 4.1.x | 4.2.x | | -------------------- | -------- | -------- | -------- | -------- | -------- | | React Native | 0.47 + | 0.50 + | 0.52 + | 0.52 + | 0.52 + | | Firebase Android SDK | 11.0.0 + | 11.8.0 + | 12.0.0 + | 15.0.0 + | 15.0.0 + | | Firebase iOS SDK | 4.0.0 + | 4.7.0 + | 4.11.0 + | 4.13.0 + | 5.0.0 + |


Documentation

To check out our latest docs, visit rnfirebase.io

Questions

For questions and support please use our Discord chat or Stack Overflow. The issue list of this repo is exclusively for bug reports.

Issues

Please make sure to complete the issue template before opening an issue. Issues not conforming to the guidelines may be closed immediately.

Feature Requests

For feature requests please use our Canny Board.

Changelog

Detailed changes for each release are documented in the releases notes.

Supporting RNFirebase

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:

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

Backers

Thank you to all our backers! 🙏 [Become a backer]

Contributing

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!

License