Build
Build/Compile
# Prepare build npm install -g eas-cli eas whoami # account check npx eas login npx eas init # set who should own npx eas build:configure # creates eas.json # Install dev client npx expo install expo-dev-client # Check which builds exist eas build:list # Build dev version eas build --platform ios --profile development eas build --platform android --profile development # Build production eas build --platform all # build ios and android # Build and auto-submit eas build --platform all --auto-submit # build and autosubmit ios and android eas build --platform android --auto-submit # submit android eas build --platform ios --auto-submit # submit ios # Before Submit npx expo-doctor@latest # check if the build is good to submit npx expo install --check # check if all dependencies are installed # SUBMIT eas submit --platform all # submit to all destinations eas submit --platform ios # submit to Apple App Store eas submit --platform android # submit to Google Playstore ## note: first time submission to android needs to be manual https://github.com/expo/fyi/blob/main/first-android-submission.md # Host on your local computer npx expo start # you have to be on same network as the host computer npx expo start --clear # run after clearing bundler cache # Test Production Locally npx expo serve # starts server
Publish Mobile
# Install xcode and android studio # Install expo-orbit brew install expo-orbit # Development build npx eas build --platform android --profile development npx eas build --platform ios --profile development
Publish Web
# Publish web npx expo export -p web # Alternatively, you can link your Github repo directly to AWS Amplify # Bundle location ./node_modules/expo/AppEntry.js
Amplify File
version: 1 frontend: phases: build: commands: - 'npx expo export -p web' artifacts: baseDirectory: 'dist' files: - '**/*' cache: paths: - 'node_modules/**/*'
Testing Users
Testers cannot join public link until this group has an approved build.
- As in, Apple must approve the app first before public link even becomes distributable.