Coder Social home page Coder Social logo

nirmalsinhrathod / react-native-firebase Goto Github PK

View Code? Open in Web Editor NEW

This project forked from invertase/react-native-firebase

0.0 2.0 0.0 5.33 MB

A well tested feature rich modular Firebase implementation for React Native, supporting both iOS & Android platforms for 12+ Firebase modules (including a feature rich Notifications implementation) ๐Ÿ”ฅ

Home Page: https://rnfirebase.io

License: Other

Java 23.87% JavaScript 57.43% Python 0.22% Ruby 0.25% Objective-C 18.23%

react-native-firebase's Introduction


React Native Firebase

NPM downloads NPM version License Backers on Open Collective Sponsors on Open Collective Chat Follow on Twitter

Introduction

RNFirebase makes using Firebase with React Native simple. It 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 v2.2.x v3.3.x v4.0.x Web SDK
AdMob โœ… โœ… โœ… โŒ
Analytics ย  ย  ย  ย  ย  ย  โœ… โœ… โœ… โŒ
App Indexing ย  ย  ย  ย  ย  โŒ โŒ โŒ โŒ
Authentication โœ… โœ… โœ… โœ…
-- Phone Auth โŒ โœ… โœ… โŒ
Core ? โœ… โœ… โœ…
-- Multiple Apps โŒ โœ… โœ… โœ…
Cloud Firestore โŒ โœ… โœ… ?
Cloud Messaging (FCM) ? ? โœ… โŒ
Crashlytics ย  ย  ย  ย  ย  โŒ โœ… โœ… โŒ
Crash Reporting โœ… โœ… โœ… โŒ
Dynamic Links โŒ โœ… โœ… โŒ
Functions Callable โŒ โŒ v4.1+ โœ…
Invites โŒ โŒ โœ… โŒ
Instance IDย  ย  ย  ย  ย  โŒ โŒ ? โŒ
Performance Monitoring โœ… โœ… โœ… โŒ
Realtime Database โœ… โœ… โœ… โœ…
-- Offline Persistence โœ… โœ… โœ… ?
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

2.2.x 3.3.x 4.0.x
React Native 0.47 + 0.50 + 0.52 +
Firebase Android SDK 11.0.0 + 11.8.0 + 12.0.0 +
Firebase iOS SDK 4.0.0 + 4.7.0 + 4.11.0 +

Documentation

To check out our latest docs, visit rnfirebase.io

Questions

For questions and support please use our Discord chat or Stack Overflow. The issue list of this repo is exclusively for bug reports.

Issues

Please make sure to complete the issue template before opening an issue. Issues not conforming to the guidelines may be closed immediately.

Feature Requests

For feature requests please use our Canny Board.

Changelog

Detailed changes for each release are documented in the releases notes.


Supporting RNFirebase

RNFirebase is an Apache-2.0 licensed open source project. It's an independent project with its ongoing development made possible entirely thanks to the support by these awesome sponsors and backers. If you'd like to join them, please consider:

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

Backers

Thank you to all our backers! ๐Ÿ™ [Become a backer]

Contributing

Please make sure to read the Contributing Guide before making a pull request.

Thank you to all the people who have already contributed to RNFirebase!


License

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.