GithubHelp home page GithubHelp logo

kdncode / react-native-firebase Goto Github PK

View Code? Open in Web Editor NEW

This project forked from invertase/react-native-firebase

0.0 1.0 0.0 2.59 MB

A well tested feature rich Firebase implementation for React Native, supporting both iOS & Android platforms for 10+ Firebase modules (including Cloud Firestore) ๐Ÿ”ฅ

Home Page: https://rnfirebase.io

License: Other

Ruby 0.20% Java 27.72% JavaScript 51.48% Shell 0.02% Objective-C 20.42% Python 0.16%

react-native-firebase's Introduction

React Native Firebase

npm version NPM downloads Package Quality Chat Donate Twitter Follow

RNFirebase makes using Firebase with React Native simple.


We also support both databases: Realtime Database and Cloud Firestore!



Docs | Starter App | iOS Install Guide | Android Install Guide | FAQs | Feature Requests


Install

npm i react-native-firebase --save

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 therefore 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.

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

All in all, RNFirebase provides much faster performance (~2x) over the web SDK and provides device sdk's not found in the web sdk (see the feature table below).


Supported Firebase Features

The Web SDK column indicates what modules/functionality from the Web SDK are usable within React Native.

'?' indicates partial support

Firebase Features v1.x.x v2.x.x v3.x.x Web SDK
AdMob โŒ โœ… โœ… โŒ
Analytics ย  ย  ย  ย  ย  ย  โœ… โœ… โœ… โŒ
App Indexing ย  ย  ย  ย  ย  โŒ โŒ โŒ โŒ
Authentication โœ… โœ… โœ… โœ…
-- Phone Auth โŒ โŒ โœ… โŒ
Core โŒ ? โœ… โœ…
-- Multiple Apps โŒ โŒ โœ… โœ…
Cloud Firestore โŒ โŒ โœ… โŒ
Cloud Messaging (FCM) โœ… โœ… โœ… ?
Crash Reporting โœ… โœ… โœ… โŒ
Dynamic Links โŒ โŒ โŒ โŒ
Invites โŒ โŒ โŒ โŒ
Performance Monitoring โœ… โœ… โœ… โŒ
Realtime Database โœ… โœ… โœ… โœ…
-- Offline Persistence โœ… โœ… โœ… ?
-- Transactions โœ… โœ… โœ… โœ…
Remote Config โœ… โœ… โœ… โŒ
Storage โœ… โœ… โœ… ?

Supported versions - React Native / Firebase

The table below shows the supported versions of React Native and the Firebase SDKs for different versions of react-native-firebase

1.X.X 2.0.X 2.1.X / 2.2.X 3.0.X
React Native 0.36 - 0.39 0.40 - 0.46 0.47 + 0.48 +
Firebase Android SDK 10.2.0 + 11.0.0 + 11.0.0 + 11.4.2 +
Firebase iOS SDK 3.15.0 + 4.0.0 + 4.0.0 + 4.3.0 +

License

react-native-firebase's People

Contributors

alexkuttig avatar axxag avatar benadamstyles avatar benschell avatar brianhiss avatar calclavia avatar carllippert avatar chrisbianca avatar connected-space avatar cretezy avatar d1no avatar dannyshisler avatar davidkuennen avatar ehesp avatar erezrokah avatar ericirish avatar fdnhkj avatar felixclack avatar fkoester avatar ghsdh3409 avatar greena13 avatar jackthomson2 avatar jerolimov avatar nico1510 avatar omer88 avatar salakar avatar sammatthewsisacommonname avatar skibz avatar smkhalsa avatar taljacobson avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.