Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
ios
 
 
js
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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>

About

A very basic React Native starter project.

Topics

Resources

Releases

No releases published

Packages

No packages published