Skip to content

drorbiran/react-native-navigation-example

Repository files navigation

react-native-navigation-bootstrap

Bootstrap for a vanilla react-native-navigation based project

Clone this repository to start a project based on

"react-native": "0.44.2",
"react": "16.0.0-alpha.6",
"react-native-navigation": "1.x.x"

Check react-native-navigation's documentation for usage details.

preparing your project

Download npm dependencies:

npm install
-or-
yarn
You would need to setup gradle to automatically download android dependencies
./scripts/android_licenses.sh

Running your project

From project dir, run:

iOS

  1. Build and run (this will start a simulator if not already started)

    react-native run-ios

    This would also start a packager if not already started

  2. Set your Simulator to live reload changes +d (cmd+d) => Enable Live Reload

Android

  1. Start an emulator

  2. Build and run

    react-native run-android

    This would also start a packager if not already started

  3. Set your Emulator to live reload changes +m (cmd+m) => Enable Hot Reloading

To open packager manually, from project dir run:

react-native start

About

An example for using react-native navigation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •