- Node.js + Yarn
- React Native CLI (
npm -g install react-native-cli
) - Xcode Command Line tools (
xcode-select --install
)
# install dependencies
yarn install
# run bundler
yarn run serve
# run on Android device/emulator
yarn run android
# run on iOS device/simulator
yarn run ios
# run tests
yarn run test
# lint code
yarn run lint
# format code
yarn run format
From DevTools
// use logger
Logger.debug('Hello World!');
// check if there is an authenticated session
AuthService.isAuthenticated();
// get state from Redux store
$store.getState().MyModule.myField;
// dispatch action from Redux store
$store.dispatch($state.MyModule.$myAction(/* args */));