react-native-connected-common

1.0.2 • Public • Published

react-native-connected-common

Library of commonly used classes for React Native by Connected Lab

Build Instructions

# Required so that xcode project can find React dependencies. 
# Android works fine without it because it has gradle dependencies.
npm install react-native
npm install react

Build Instructions

React Native

-1. Install brew if not already installed.

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# If brew doctor complains about permissions try 
sudo chown -R $(whoami) /usr/local

0. Install node if not already installed.

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash
# Close and restart terminal 
nvm install node && nvm alias default node

1. Install react-native if not already installed.

  brew install watchman
  brew install flow
  npm install -g react-native-cli

How to Publish

These instructions are only for when you are making changes to this react-native-connected-common repository and want to publish them.

Android Library

A good description of all the instructions.

TL;DR:

  1. Setup GPG key. Tech support will know how to get you the appropriate GPG key.
  2. To publish an update to go Android Studio > Gradle right side tab > android > upload > uploadArchives.

Go to Sonatype (login account connectedlab) to manage and publish the repository as described in their docs.

TL;DR Click Close and then Release.

NPM

npm login # connected-lab
npm publish

Package Sidebar

Install

npm i react-native-connected-common

Weekly Downloads

0

Version

1.0.2

License

Apache-2.0

Last publish

Collaborators

  • connected-lab