From 04a081d9545fb61a4686401438a4ee089df98a64 Mon Sep 17 00:00:00 2001 From: Xor290 Date: Fri, 20 Feb 2026 14:00:27 +0100 Subject: [PATCH] chore: add eas.json & update app.json --- mobile/app.json | 97 +++++++++++++++++++++++++++---------------------- mobile/eas.json | 41 +++++++++++++++++++++ 2 files changed, 95 insertions(+), 43 deletions(-) create mode 100644 mobile/eas.json diff --git a/mobile/app.json b/mobile/app.json index ee5b4e47..bdf6538a 100644 --- a/mobile/app.json +++ b/mobile/app.json @@ -1,45 +1,56 @@ { - "expo": { - "name": "mobile", - "slug": "mobile", - "version": "1.0.0", - "orientation": "portrait", - "icon": "./assets/icon.png", - "userInterfaceStyle": "light", - "newArchEnabled": true, - "splash": { - "image": "./assets/splash-icon.png", - "resizeMode": "contain", - "backgroundColor": "#ffffff" - }, - "ios": { - "supportsTablet": true, - "bundleIdentifier": "com.anonymous.mobile" - }, - "android": { - "adaptiveIcon": { - "foregroundImage": "./assets/adaptive-icon.png", - "backgroundColor": "#ffffff" - }, - "edgeToEdgeEnabled": true, - "predictiveBackGestureEnabled": false, - "package": "com.anonymous.mobile" - }, - "web": { - "favicon": "./assets/favicon.png" - }, - "plugins": [ - "expo-font", - "expo-router", - [ - "expo-notifications", - { - "icon": "./assets/icon.png", - "color": "#7C3AED", - "defaultChannel": "orders", - "sounds": [] - } - ] - ] - } + "expo": { + "name": "Uber Stup", + "slug": "mobile", + "version": "1.0.0", + "orientation": "portrait", + "icon": "./assets/icon.png", + "userInterfaceStyle": "dark", + "newArchEnabled": true, + "splash": { + "image": "./assets/splash-icon.png", + "resizeMode": "contain", + "backgroundColor": "#ffffff" + }, + "ios": { + "supportsTablet": true, + "bundleIdentifier": "com.uberstup.clientpanel" + }, + "android": { + "adaptiveIcon": { + "foregroundImage": "./assets/adaptive-icon.png", + "backgroundColor": "#ffffff" + }, + "edgeToEdgeEnabled": true, + "predictiveBackGestureEnabled": false, + "package": "com.uberstup.clientpanel", + "versionCode": 1, + "permissions": [ + "android.permission.RECEIVE_BOOT_COMPLETED", + "android.permission.VIBRATE" + ] + }, + "web": { + "favicon": "./assets/favicon.png" + }, + "plugins": [ + "expo-font", + "expo-router", + [ + "expo-notifications", + { + "icon": "./assets/icon.png", + "color": "#7C3AED", + "defaultChannel": "orders", + "sounds": [] + } + ] + ], + "extra": { + "eas": { + "projectId": "fcb7a0bc-5b2f-453d-ba16-9f97d9f0e440" + } + }, + "owner": "xor290" + } } diff --git a/mobile/eas.json b/mobile/eas.json new file mode 100644 index 00000000..150b0152 --- /dev/null +++ b/mobile/eas.json @@ -0,0 +1,41 @@ +{ + "cli": { + "version": ">= 16.0.0", + "appVersionSource": "local" + }, + "build": { + "development": { + "developmentClient": true, + "distribution": "internal", + "android": { + "buildType": "apk", + "gradleCommand": ":app:assembleDebug" + }, + "ios": { + "simulator": true + }, + "env": { + "API_URL": "https://uber-stup.club" + } + }, + "preview": { + "distribution": "internal", + "android": { + "buildType": "apk" + }, + "env": { + "API_URL": "https://uber-stup.club" + } + }, + "production": { + "distribution": "internal", + "autoIncrement": true, + "android": { + "buildType": "apk" + }, + "env": { + "API_URL": "https://uber-stup.club" + } + } + } +}