db52d1f8db | ||
---|---|---|
.github | ||
android | ||
docs | ||
example/demo | ||
ios | ||
lib | ||
tests | ||
.babelrc | ||
.editorconfig | ||
.eslintrc | ||
.flowconfig | ||
.gitignore | ||
.npmignore | ||
.watchmanconfig | ||
LICENSE | ||
README.md | ||
RNFirebase.podspec | ||
React-Native-Firebase.svg | ||
buddybuild_postclone.sh | ||
index.d.ts | ||
index.js | ||
package.json |
README.md
React Native Firebase
Introduction
React Native Firebase is a light-weight javascript layer connecting you to the native Firebase SDKs for both iOS and Android which aimes to mirror the offical Firebase Web SDK as closely as possible.
Although the official Firebase JS SDK will work with React Native; it is mainly built for the web and has a limited feature-set compared to native.
Using the native Firebase SDKs with React Native Firebase allows you to consume device SDKs which don't exist on the Firebase JS SDK - for example; Remote Config, Performance Monitoring, Dynamic Links, Analytics and more (see the feature table below for comparison).
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 |
---|---|---|---|
AdMob | ❌ | ✅ | ❌ |
Analytics | ✅ | ✅ | ❌ |
App Indexing | ❌ | ❌ | ❌ |
Authentication | ✅ | ✅ | ✅ |
Cloud Messaging | ✅ | ✅ | ❌ |
Crash Reporting | ✅ | ✅ | ❌ |
Dynamic Links | ❌ | ❌ | ❌ |
Invites | ❌ | ❌ | ❌ |
Performance Monitoring | ✅ | ✅ | ❌ |
Realtime Database | ✅ | ✅ | ✅ |
- Offline Persistance | ✅ | ✅ | ❌ |
- Transactions | ✅ | ✅ | ✅ |
Remote Config | ✅ | ✅ | ❌ |
Storage | ✅ | ✅ | ❌ |
Supported versions - React Native / Firebase
The table below shows the supported version of
react-native-firebase
for different React Native versions
v0.36 - v0.39 | v0.40 - v0.46 | v0.47 + | |
---|---|---|---|
react-native-firebase | 1.X.X | 2.X.X | 2.1.X |
The table below shows the minimum supported versions of the Firebase SDKs for each version of
react-native-firebase
v1 | v2 | |
---|---|---|
Firebase Android SDK | 10.2.0+ | 11.0.0 + |
Firebase iOS SDK | 3.15.0+ | 4.0.0 + |
License
- MIT