Skip to content

An automated script for react-native-firebase package integration

License

Notifications You must be signed in to change notification settings

ron10023/react-native-firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

react-native-firebase

npm version NPM downloads License

Description

This script automates the integration of 'react-native-firebase' package.

Attention

Due to EventEmitter deprecation in React Native v0.48, Please click here for a fix.

Installation

Using NPM (when using with gulp)

npm i react-native-configure-firebase --save

Usage

var configureFirebase = require('react-native-configure-firebase');

configureFirebase(action, version);

options:

  1. action - either 'link', 'unlink' or 'bundle'.

  2. version - the desired firebase packages version to use.

Manually

  1. Download the script and put it in the root folder of your react native project.

  2. Add this line to the 'scripts' section of your package.json file:

    "configure-firebase": "node configure-firebase.js"

Usage

You have several options:

  1. 'npm run configure-firebase link'.

  2. 'npm run configure-firebase unlink'.

  3. 'npm run configure-firebase bundle' - this runs the 'bundle-ios' script so you'll be ready to check the integration on a device.

Note

When you run the script, it installs all its dependencies and presents a menu so you can select the desired features you wish to use in your app.

Donation

If this project help you reduce time to develop, you can give me a cup of coffee :)

paypal

About

An automated script for react-native-firebase package integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published