🔥 A well tested feature rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for over 15 Firebase services. https://invertase.io/oss/react-native-firebase
Go to file
Salakar 2d1015d205 js: change db error to match firebase web sdk error 2017-03-08 13:21:21 +00:00
android android: fixed once and on error handling 2017-03-07 16:54:04 +00:00
bin rnpm scripts 2017-03-02 13:13:18 +00:00
docs docs 2017-03-02 12:50:09 +00:00
lib js: change db error to match firebase web sdk error 2017-03-08 13:21:21 +00:00
.babelrc base project files 2017-02-14 16:02:54 +00:00
.editorconfig base project files 2017-02-14 16:02:54 +00:00
.eslintrc misc eslint rules 2017-03-02 13:10:50 +00:00
.flowconfig base project files 2017-02-14 16:02:54 +00:00
.gitignore base project files 2017-02-14 16:02:54 +00:00
.npmignore base project files 2017-02-14 16:02:54 +00:00
.watchmanconfig js: change db error to match firebase web sdk error 2017-03-08 13:21:21 +00:00
LICENSE base project files 2017-02-14 16:02:54 +00:00
README.md update readme gitter link 2017-03-02 13:07:08 +00:00
RNFirebase.podspec base project files 2017-02-14 16:02:54 +00:00
firebase.android.js android: fixed once and on error handling 2017-03-07 16:54:04 +00:00
firebase.ios.js base project files 2017-02-14 16:02:54 +00:00
index.js android: fixed once and on error handling 2017-03-07 16:54:04 +00:00
package.json remove trailing comma in package json 2017-03-07 12:02:43 +00:00

README.md

React Native Firebase

RNFirebase makes using the latest Firebase with React Native straight-forward.

npm i react-native-firebase --save

Gitter npm version License

RNFirebase is a light-weight layer sitting on-top of the native Firebase libraries for both iOS and Android which mirrors the React Native JS api as closely as possible.

Featuring; authentication, storage, real-time database, presence, analytics, cloud messaging, remote configuration, redux support and more!

RNFirebase vs Firebase JS lib

Although the Firebase JavaScript library will work with React Native, it is mainly designed for the web.

The native SDK's are much better for performance compared to the web SDK. The web SDK will run on the same thread as your apps (JS thread) therefore limiting your JS framerate, potentially affecting things touch events and transitions/animations.

The native SDK's also contains functionality that the web SDK's do not, for example Analytics and Remote Config.

Example app

We have a working application example available in at invertase/firebase-app. Check it out for more details about how to use firebase with react native.

Documentation

Contributing

  • TODO