🔥 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
Chris Bianca 5795e08f2c [test] Fix iOS auth test 2017-06-16 16:54:54 +01:00
android [android][database] Fix hanging db when querying object with large numerical keys 2017-06-16 13:10:11 +01:00
docs Merge branch 'v2' of github.com:invertase/react-native-firebase into v2 2017-06-16 15:35:38 +01:00
ios Merge branch 'v2' of github.com:invertase/react-native-firebase into v2 2017-06-16 15:35:38 +01:00
lib [ios][admob] Implement Banner 2017-06-16 15:20:34 +01:00
tests [test] Fix iOS auth test 2017-06-16 16:54:54 +01: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 add version to .flowconfig 2017-04-04 11:55:50 +01:00
.gitignore Merge branch 'master' of https://github.com/invertase/react-native-firebase 2017-05-01 17:19:27 +01:00
.npmignore [tests] import RNFirebase for parent directory rather than from npm file:.. syntax 2017-05-01 17:06:40 +01: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-06-16 12:25:02 +01:00
RNFirebase.podspec [ios] Update podspec to include subdirectories 2017-06-16 11:27:46 +01:00
React-Native-Firebase.svg added logo svg 2017-03-24 02:56:28 +00:00
index.d.ts Typescript Def: Make path optional for database ref 2017-05-31 18:20:44 -04:00
index.js [admob][android] WIP Basic view 2017-05-25 17:00:53 +01:00
package.json Merge branch 'master' into v2 2017-06-16 13:45:45 +01:00

README.md

React Native Firebase

Chat Gitter npm version License Donate

RNFirebase makes using Firebase with React Native simple.

Documentation


Install

npm i react-native-firebase --save

Pst! We're working on V2 with loads of new features!

Platform specific setup guides:

ios android


Why

RNFirebase 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. 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. All in all, RNFirebase provides much faster performance (~2x) over the web SDK.

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, analyics and more!


Supported Firebase Features

The Web SDK column indicates what modules from the Firebase Web SDK are usable with React Native.

Firebase Features v1 v2 Web SDK
Analytics            
Cloud Messaging
Authentication
Realtime Database
- Offline Persistance
Storage
Performance Monitoring
Crash Reporting
Remote Config
App Indexing          
Dynamic Links
Invites
AdMob

License

  • MIT