Introduction
Commands I often use developing with React Native.
Development
-
Start expo client(managed workflow).
npx expo start -
Start dev client bundler(bare workflow).
npx expo start --dev-client
Bare Workflow
-
Build then run Android and Dev dev clients on devices respectively.
npx expo run:ios -d npx expo run:android --deviceSpecify product flavor development build type debug.
npx expo run:android --device --variant=developmentDebug
Build
-
Create iOS build. By default kicks off the build on EAS with production profile.
eas build -p ios -
Create an iOS build using the development profile defined in
eas.jsoneas build -p ios -e development -
Create an iOS build on local machine.
eas build -p ios --local -
View status of the last EAS build.
eas build:view