Note:
This fork is probably only necessary, if you want to install React-Navigation on non-Unix/Mac based systems, standalone and test the examples on devices/simulators. Usually the library is included via imports into main apps, which seems to cause no problems on other OS’s.
The branch ‘stevieyBranch’ will be frequently updated/merged.
Install (standalone):
-
project root: npm i
-
cd examples\NavigationPlayground
-
npm i
-
react-native run-android
React Navigation
Learn once, navigate anywhere.
Browse the docs on reactnavigation.org.
Getting started (non-standalone)
-
Create a new React Native App
react-native init SimpleApp cd SimpleApp
-
Install the latest version of react-navigation from npm
yarn add react-navigation
ornpm install --save react-navigation
-
Run the new app
react-native run-android # or: react-native run-ios