The Reason RNTester showcases React Native views and modules.
Before running the app, make sure you ran:
# in this folder
npm install
# start Bucklescript compiler in watch mode
npm run watch
# start Metro packager
npm run packager:start
Mac OS and Xcode are required.
- Open
RNTester/RNTester.xcodeprojin Xcode - Hit the Run button
- Alternatively you may run
react-native run-iosin the terminal
See Running on device if you want to use a physical device.
You'll need to have all the prerequisites (SDK, NDK) for Building React Native installed.
Start an Android emulator (Genymotion is recommended).
react-native run-android` Note: Building for the first time can take a while.
Open the RNTester app in your emulator.
See Running on Device in case you want to use a physical device.