Checkout the repo first.
Build & launch:
yarn # install dependencies
cd example
yarn # install dependencies of the example app
(cd iOS && pod install) # prepare iOS xcode workspace
yarn start # start the react-native packager
yarn ios # or yarn android, launch the example app
Available npm scripts:
yarn start
to start the dev serveryarn ios
build your app and starts it on iOS simulatoryarn iosx
build your app and starts it on iPhone X simulatoryarn android
build your app and starts it on a connected Android emulator or device- or run any
react-native
commands:yarn cli [options] [command]