From d2cfa70b008cbb11eebd59f148ed5c3db6c8e7ad Mon Sep 17 00:00:00 2001 From: sergemuhundu Date: Wed, 30 Oct 2024 16:34:20 +0100 Subject: [PATCH] deploy pre-release of mobile apps --- apps/mobile/app.json | 94 ++++++++++++++++++++++++++++++++++++++++++++ apps/mobile/eas.json | 16 ++++++++ 2 files changed, 110 insertions(+) create mode 100644 apps/mobile/app.json diff --git a/apps/mobile/app.json b/apps/mobile/app.json new file mode 100644 index 000000000..8fd353adc --- /dev/null +++ b/apps/mobile/app.json @@ -0,0 +1,94 @@ +{ + "name": "ever-cloc-mobile", + "displayName": "Ever Cloc Mobile", + "expo": { + "name": "Ever Cloc Mobile", + "slug": "ever-cloc-mobile", + "version": "0.1.0", + "orientation": "portrait", + "icon": "./assets/images/ever-teams-logo.png", + "splash": { + "image": "./assets/images/splash-ever-teams.png", + "resizeMode": "cover", + "backgroundColor": "#ffffff" + }, + "owner": "everco", + "updates": { + "fallbackToCacheTimeout": 0, + "url": "https://u.expo.dev/540994c7-edcb-4c17-8d00-849fa3b4759a" + }, + "jsEngine": "hermes", + "assetBundlePatterns": ["**/*"], + "plugins": [ + [ + "expo-media-library", + { + "photosPermission": "Allow $(PRODUCT_NAME) to access your photos.", + "savePhotosPermission": "Allow $(PRODUCT_NAME) to save photos.", + "isAccessMediaLocationEnabled": true + } + ], + "sentry-expo", + [ + "expo-build-properties", + { + "android": { + "enableProguardInReleaseBuilds": true, + "extraProguardRules": "-keep public class com.horcrux.svg.** {*;}", + "allowBackup": false, + "minSdkVersion": 23, + "targetSdkVersion": 34 + } + } + ] + ], + "android": { + "icon": "./assets/images/app-icon-android-legacy-ever-teams.png", + "package": "ever.cloc", + "adaptiveIcon": { + "foregroundImage": "./assets/images/app-icon-android-adaptive-foreground-ever.png", + "backgroundImage": "./assets/images/app-icon-android-adaptive-background.png" + }, + "splash": { + "image": "./assets/images/splash-ever-teams.png", + "resizeMode": "cover", + "backgroundColor": "#ffffff" + }, + "permissions": [ + "android.permission.READ_EXTERNAL_STORAGE", + "android.permission.WRITE_EXTERNAL_STORAGE", + "android.permission.ACCESS_MEDIA_LOCATION" + ] + }, + "ios": { + "icon": "./assets/images/app-icon-ios-ever-teams.png", + "supportsTablet": true, + "bundleIdentifier": "ever.cloc", + "splash": { + "image": "./assets/images/splash-ever-teams.png", + "tabletImage": "./assets/images/splash-logo-ever-teams-ios-tablet.png", + "resizeMode": "cover", + "backgroundColor": "#ffffff" + }, + "infoPlist": { + "NSCameraUsageDescription": "This app uses the camera to scan barcodes on event tickets.", + "NSPhotoLibraryUsageDescription": "Allow $(PRODUCT_NAME) to access your photos.", + "NSPhotoLibraryAddUsageDescription": "Allow $(PRODUCT_NAME) to save photos." + } + }, + "web": { + "favicon": "./assets/images/app-icon-web-favicon.png", + "splash": { + "image": "./assets/images/splash-logo-web-ever-teams.png", + "resizeMode": "contain", + "backgroundColor": "#ffffff" + } + }, + "extra": { + "eas": { + "projectId": "540994c7-edcb-4c17-8d00-849fa3b4759a" + } + }, + "runtimeVersion": "exposdk:48.0.0" + } +} diff --git a/apps/mobile/eas.json b/apps/mobile/eas.json index 866d70a6f..eef5c22f4 100644 --- a/apps/mobile/eas.json +++ b/apps/mobile/eas.json @@ -13,6 +13,9 @@ }, "production": { "autoIncrement": true + }, + "internal": { + "distribution": "internal" } }, "submit": { @@ -28,6 +31,19 @@ "ascApiKeyId": "APPSTORE_API_KEY_ID_PLACEHOLDER", "ascApiKeyPath": "./AuthKey_8A3H79GTF8.p8" } + }, + "internal": { + "android": { + "track": "internal", + "releaseStatus": "draft", + "changesNotSentForReview": false + }, + "ios": { + "ascAppId": "APPLE_ID_PLACEHOLDER", + "ascApiKeyIssuerId": "APPSTORE_ISSUER_ID_PLACEHOLDER", + "ascApiKeyId": "APPSTORE_API_KEY_ID_PLACEHOLDER", + "ascApiKeyPath": "./AuthKey_8A3H79GTF8.p8" + } } } }