A very basic React Native starter project.
Clone or download
Ian Turner
Ian Turner Added masked inputs
Latest commit 910fdd5 Jan 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android Updated buttons Dec 17, 2018
ios Updated navigation Dec 16, 2018
js Added masked inputs Jan 20, 2019
.babelrc Updated navigation Dec 16, 2018
.buckconfig Initial commit Mar 14, 2018
.flowconfig Updated navigation Dec 16, 2018
.gitattributes Initial commit Mar 14, 2018
.gitignore Updated navigation Dec 16, 2018
.watchmanconfig Initial commit Mar 14, 2018
README.md Updated README Jan 20, 2019
app.json Initial commit Mar 14, 2018
index.js Updated navigation Dec 16, 2018
package-lock.json Added masked inputs Jan 20, 2019
package.json Added masked inputs Jan 20, 2019

README.md

React Native Starter

A simple starter project for React Native apps.

Author

Ian Turner ( @i_am_turner / iamturner.co.uk )

Installation

On the command prompt run the following commands

$ git clone https://github.com/iamturner/ReactNative-Boilerplate.git

$ cd ReactNative-Boilerplate/

$ npm install

Rename App (optional)

To rename the app instead of 'Starter', run the following commands.

$ npm install react-native-rename -g

$ react-native-rename "NEW APP NAME" -b com.bundle.identifier

iOS

On the command prompt run the following commands

$ react-native run-ios

Android

Note: Before running react-native run-android for the first time, open the project in Android Studio to generate local.properties file, or rename the local.properties.example file included.

$ react-native run-android

Tip: To open an Android emulator without opening Android Studio (for MacOS).

On the command prompt run the following commands.

Library/Android/sdk/tools/emulator -list-avds

This returns a list of installed emulators. Choose which emulator you want to run, e.g. Pixel_API_25, and then enter:

Library/Android/sdk/tools/emulator -avd <EMULATOR_NAME>