🔥 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
Michael Diarmid da2a7ec3a3 Merge pull request #91 from greena13/dev_ref_on
[Database] Make Reference.on() more consistent with Web API
2017-05-08 09:01:30 +01:00
android [android] Fix database limit type conversion 2017-05-03 09:25:29 +01:00
bin misc build script changes 2017-03-17 14:57:22 +00:00
docs Update transactions.md 2017-05-03 16:02:21 +01:00
ios [ios] add backwards compatibility to RN imports - fixed #80 2017-05-05 09:46:22 +01:00
lib [Database] Standardise error messages and add context support for Reference.on() 2017-05-06 14:33:55 +01:00
tests Merge branch 'master' of https://github.com/invertase/react-native-firebase into dev_ref_on 2017-05-06 16:32:17 +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-04-27 12:39:37 +01:00
RNFirebase.podspec [ios] update pod spec & template 2017-05-02 10:54:18 +01:00
React-Native-Firebase.svg added logo svg 2017-03-24 02:56:28 +00:00
index.js initial commit 2017-04-04 20:47:31 +01:00
package.json 1.0.2 2017-05-05 10:12:15 +01:00

README.md

React Native Firebase

Chat Gitter npm version License

RNFirebase makes using Firebase with React Native simple.

Documentation


Install

npm i react-native-firebase --save

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!


License

  • MIT