This document outlines the steps to build and deploy the CoffeShop application using EAS (Expo Application Services).
- EAS CLI: Install via
npm install -g eas-cli. - Expo Account: You need to be logged in (
eas login). - Project Configuration: Ensure
app.jsonandeas.jsonare correctly configured.
-
Configure Build Profile: Ensure your
eas.jsonhas a production profile:"build": { "production": { "android": { "buildType": "app-bundle" } } }
-
Run Build:
eas build --platform android --profile production
Note: Requires an Apple Developer Account.
- Run Build:
eas build --platform ios --profile production
- Manual Upload: Download the
.aabfile from the EAS build dashboard and upload it to the Google Play Console. - Automated: Use EAS Submit.
eas submit -p android
- Automated: Use EAS Submit to upload to TestFlight or the App Store.
eas submit -p ios
You can push updates to your users without going through the store review process for JavaScript-only changes.
- Publish Update:
eas update --branch production --message "Quick bug fix"
To create a build for internal testing (not for store):
eas build --profile preview --platform allThis will generate an APK (Android) and an internal distribution build (iOS) that can be installed directly on devices.