- Published on
Cheat Sheet: Expo
- Authors
- Name
- Loi Tran
Introduction
Commands I often use developing with React Native.
Development
Start expo client(managed workflow).
npx expo startStart 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 iosCreate an iOS build using the development profile defined in
eas.jsoneas build -p ios -e developmentCreate an iOS build on local machine.
eas build -p ios --localView status of the last EAS build.
eas build:view