From 30fbca21884eb30226d42b6090eaf31de0d2ca5c Mon Sep 17 00:00:00 2001 From: talksik Date: Wed, 29 Apr 2026 17:38:43 -0700 Subject: [PATCH] config for mobile --- js/mobile/app.config.ts | 4 ++++ js/mobile/eas.json | 40 ++++++++++++++++++++++++++++++++++++++++ js/mobile/package.json | 1 + 3 files changed, 45 insertions(+) create mode 100644 js/mobile/eas.json diff --git a/js/mobile/app.config.ts b/js/mobile/app.config.ts index 6d7b634..cb8009b 100644 --- a/js/mobile/app.config.ts +++ b/js/mobile/app.config.ts @@ -55,6 +55,10 @@ const config: ExpoConfig = { typedRoutes: false, }, extra: { + eas: { + projectId: "e902f7e5-e514-42bd-9591-75738e3494ed" + }, + appEnv: APP_ENV, }, }; diff --git a/js/mobile/eas.json b/js/mobile/eas.json new file mode 100644 index 0000000..74c2c95 --- /dev/null +++ b/js/mobile/eas.json @@ -0,0 +1,40 @@ +{ + "cli": { + "version": ">= 12.0.0", + "appVersionSource": "remote" + }, + "build": { + "development": { + "developmentClient": true, + "distribution": "internal", + "ios": { + "simulator": true + }, + "env": { + "EXPO_PUBLIC_APP_ENV": "dev" + } + }, + "preview": { + "distribution": "internal", + "ios": { + "simulator": true + }, + "env": { + "EXPO_PUBLIC_APP_ENV": "dev" + } + }, + "production": { + "autoIncrement": true, + "env": { + "EXPO_PUBLIC_APP_ENV": "prod" + } + } + }, + "submit": { + "production": { + "ios": { + "appleTeamId": "RK9WWM4Q99" + } + } + } +} diff --git a/js/mobile/package.json b/js/mobile/package.json index b3de624..dce214a 100644 --- a/js/mobile/package.json +++ b/js/mobile/package.json @@ -6,6 +6,7 @@ "scripts": { "start": "expo start", "ios": "expo run:ios --device", + "publish:ios": "eas build --platform ios --auto-submit && echo 'Go to App Store Connect and submit the testflight build for app review. Visit for more information: https://docs.expo.dev/submit/introduction/'", "android": "expo run:android", "compile": "tsc --noEmit", "lint": "expo lint"