🔥 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 0914a9341c [ios,android] WIP - moving auth to promises & fixing ios <-> android discrepancies 2017-03-14 19:04:16 +00:00
android [ios,android] WIP - moving auth to promises & fixing ios <-> android discrepancies 2017-03-14 19:04:16 +00:00
bin Rename pod 2017-03-10 14:18:07 +00:00
docs Add missing settings.gradle setup docs 2017-03-13 10:25:43 +00:00
ios [ios,android] WIP - moving auth to promises & fixing ios <-> android discrepancies 2017-03-14 19:04:16 +00:00
lib [ios,android] WIP - moving auth to promises & fixing ios <-> android discrepancies 2017-03-14 19:04:16 +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 android/js: cleanup / remove redundant code 2017-03-10 18:12:46 +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: snapshot class incorrectly defining 'exists' as a bool prop, instead of a function 2017-03-09 15:27:49 +00:00
LICENSE base project files 2017-02-14 16:02:54 +00:00
README.md Update README.md 2017-03-13 08:47:29 +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.

Examples app

There's currently a work in progress examples app which aims to demonstrate various real world use-case scenarios with React Native & Firebase. We welcome any new examples or updates to existing ones, however please do not overcomplicate them.

Test app

To help ensure changes and features work across both iOS & Android, we've developed an app specifically to test react-native-firebase against the firebase web SDK. Please see the react-native-firebase-tests repository for more information.

Documentation

Contributing

  • TODO