Quick reference for common Expo/React Native commands for PickMe Games.
npm start
# or
npx expo startnpm start -- --clear # Clear cache and start
npm start -- --tunnel # Use tunnel (for testing on physical devices)
npm start -- --lan # Use LAN connection- Press
iin Metro terminal → Opens iOS simulator - Press
ain Metro terminal → Opens Android emulator - Press
r→ Reload app - Press
m→ Toggle dev menu
npx expo run:ios
# or
npm run iosnpx expo run:android
# or
npm run androidnpx expo run:ios --device # iOS device
npx expo run:android --device # Android devicenpm install -g eas-cli
eas login# Android development build
eas build --platform android --profile development
# iOS development build
eas build --platform ios --profile development
# Both platforms
eas build --platform all --profile development# Android preview (APK for internal testing)
eas build --platform android --profile preview
# iOS preview (TestFlight)
eas build --platform ios --profile preview
# Both platforms
eas build --platform all --profile preview# Android production (AAB for Play Store)
eas build --platform android --profile production
# iOS production (App Store)
eas build --platform ios --profile production
# Both platforms
eas build --platform all --profile productioneas build:list # List all builds
eas build:view [BUILD_ID] # View specific build-
Build for Production
eas build --platform ios --profile production
-
Submit to App Store
eas submit --platform ios
- Follow prompts to select build
- EAS will handle App Store Connect submission
-
Or Manual Submission
- Download
.ipafrom EAS dashboard - Use Transporter app or Xcode to upload
- Complete submission in App Store Connect
- Download
-
Build for Production
eas build --platform android --profile production
-
Submit to Play Store
eas submit --platform android
- Follow prompts to select build
- EAS will handle Play Console submission
-
Or Manual Submission
- Download
.aabfrom EAS dashboard - Upload to Google Play Console
- Complete release process
- Download
npm run clear # Clear Metro cache
npm run clear:all # Clear all caches
npx expo start --clear # Start with cleared cachenpm install # Install dependencies
npx expo install --fix # Fix dependency versions for Expo SDKeas build:configure # Configure build profiles
cat eas.json # View build configurationnpm run logs:ios # iOS simulator logs
npm run logs:device # Physical iOS device logsCommon profiles you'll use:
- development: For testing with dev client
- preview: For TestFlight/internal testing
- production: For App Store/Play Store release
eas build --platform android --clear-cache
eas build --platform ios --clear-cachenpm run clear:all
rm -rf node_modules
npm install
npm start -- --clearnpm install -g eas-cli@latest
eas logout
eas login- Always test preview builds before submitting production
- Use
--clear-cacheif builds behave unexpectedly - Check
eas.jsonfor build profile settings - Monitor build status in EAS dashboard or via CLI
- Keep EAS CLI updated:
npm install -g eas-cli@latest
Last updated: 2024