/react-native-native-base-seed

React Native Seed Project with NativeBase, Redux, CodePush, Router, Push Notification and other basic must-have libraries

Primary LanguageJavaScriptApache License 2.0Apache-2.0

No longer maintained

React Native-NativeBase Seed v5.2.0

React Native-NativeBase Seed is a basic configuration that every React Native app must have.

This is open source and perfect for any newbie to start with React Native.

This is a React Native Project with NativeBase, Navigation Experimental, Redux, CodePush, Router, Push Notification and other basic must-have libraries.

Get Started

1. System Requirements

  • Globally installed node >= 4.0

  • Globally installed npm >= 3.0

  • Globally installed rnpm (only if React Native version < 0.29)

  • Globally installed react-native CLI

  • Install CodePush globally and get keys for your app.

2. Installation

A few set of commands, and you are ready to get going.

git clone git@github.com:GeekyAnts/react-native-native-base-seed.git

cd react-native-native-base-seed

npm install

react-native upgrade

react-native android

If React Native < 0.29

$rnpm link

If React Native >= 0.29

$ react-native link

While running react-native android do not overwrite index.android.js file.

CodePush plugin installation and key deployment.

3. Simulate for iOS

Method One

  • Open the project in XCode from ios/ReactNativeNativeBaseSeed.xcodeproj

  • Hit the play button.

Method Two

  • Run the following command in your terminal
$ react-native run-ios

4. Simulate for Android

  • Make sure you have an Android emulator installed and running.

  • Run the following command in your terminal

$ react-native run-android

Note: If you are building React Native-NativeBase Seed for first time on your system, please follow Method One to simulate on iOS. (To link the CodePush plugin through Xcode for iOS)