From 46d909b03f7f2daf29c54ede5f057c0b36445095 Mon Sep 17 00:00:00 2001 From: sergemuhundu Date: Fri, 18 Oct 2024 00:31:26 +0100 Subject: [PATCH 1/5] Add env vars placeholders for expo --- apps/mobile/.env | 10 ++-- apps/mobile/app.json | 94 +++++++++++++++++++++++++++++++++++ apps/mobile/app.template.json | 4 +- apps/mobile/eas.json | 53 -------------------- apps/mobile/package.json | 1 + apps/mobile/yarn.lock | 5 ++ 6 files changed, 108 insertions(+), 59 deletions(-) create mode 100644 apps/mobile/app.json delete mode 100644 apps/mobile/eas.json diff --git a/apps/mobile/.env b/apps/mobile/.env index f07c6ee3f..847ca4a32 100644 --- a/apps/mobile/.env +++ b/apps/mobile/.env @@ -5,8 +5,10 @@ GAUZY_API_URL=https://api.gauzy.co INVITE_CALLBACK_URL=https://app.ever.team/auth/passcode EXPO_PUBLIC_SENTRY_DSN= SENTRY_ORG=ever-co -SENTRY_PROJECT=ever-teams-mobile -EXPO_PROJECT_SLUG=ever-teams-mobile -EXPO_PROJECT_NAME=Ever Teams Mobile +SENTRY_PROJECT=ever-cloc-mobile +EXPO_PROJECT_SLUG=ever-cloc-mobile +EXPO_PROJECT_NAME=Ever Cloc Mobile EXPO_PROJECT_OWNER=everco -EXPO_PROJECT_ID=2ff924e4-7a91-4b23-9db9-7453a8063bb0 +EXPO_PROJECT_ID=540994c7-edcb-4c17-8d00-849fa3b4759a +EXPO_PROJECT_PACKAGE_NAME=ever.cloc +EXPO_PROJECT_IOS_BUNDLE_IDENTIFIER=co.ever.cloc diff --git a/apps/mobile/app.json b/apps/mobile/app.json new file mode 100644 index 000000000..3cf22177d --- /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": "co.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/app.template.json b/apps/mobile/app.template.json index f48f6bce9..550a27e47 100644 --- a/apps/mobile/app.template.json +++ b/apps/mobile/app.template.json @@ -44,7 +44,7 @@ ], "android": { "icon": "./assets/images/app-icon-android-legacy-ever-teams.png", - "package": "ever.team", + "package": "$EXPO_PROJECT_PACKAGE_NAME", "adaptiveIcon": { "foregroundImage": "./assets/images/app-icon-android-adaptive-foreground-ever.png", "backgroundImage": "./assets/images/app-icon-android-adaptive-background.png" @@ -63,7 +63,7 @@ "ios": { "icon": "./assets/images/app-icon-ios-ever-teams.png", "supportsTablet": true, - "bundleIdentifier": "co.ever.teams", + "bundleIdentifier": "$EXPO_PROJECT_IOS_BUNDLE_IDENTIFIER", "splash": { "image": "./assets/images/splash-ever-teams.png", "tabletImage": "./assets/images/splash-logo-ever-teams-ios-tablet.png", diff --git a/apps/mobile/eas.json b/apps/mobile/eas.json deleted file mode 100644 index 6bcd4efad..000000000 --- a/apps/mobile/eas.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "cli": { - "appVersionSource": "remote" - }, - "build": { - "development": { - "extends": "production", - "developmentClient": true, - "distribution": "internal", - "ios": { - "simulator": true - }, - "android": { - "buildType": "apk" - }, - "channel": "development" - }, - "preview": { - "extends": "production", - "distribution": "internal", - "channel": "preview", - "ios": { - "simulator": true - }, - "android": { - "buildType": "apk" - } - }, - "production": { - "autoIncrement": true, - "channel": "production", - "env": { - "GAUZY_API_URL": "https://api.ever.team", - "INVITE_CALLBACK_URL": "https://app.ever.team/auth/passcode" - } - } - }, - "submit": { - "production": { - "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_R9QZ5LP8NK.p8" - } - } - } -} diff --git a/apps/mobile/package.json b/apps/mobile/package.json index 0ec2dea5f..1927868b2 100644 --- a/apps/mobile/package.json +++ b/apps/mobile/package.json @@ -59,6 +59,7 @@ "apisauce": "3.0.0", "axios": "^1.6.0", "date-fns": "^2.29.2", + "eas": "^0.1.0", "expo": "~48.0.9", "expo-application": "~5.1.1", "expo-blur": "~12.2.2", diff --git a/apps/mobile/yarn.lock b/apps/mobile/yarn.lock index fad785b47..16b3c9884 100644 --- a/apps/mobile/yarn.lock +++ b/apps/mobile/yarn.lock @@ -5924,6 +5924,11 @@ duplexify@^3.4.2, duplexify@^3.6.0: readable-stream "^2.0.0" stream-shift "^1.0.0" +eas@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/eas/-/eas-0.1.0.tgz#cc3c1d8f1aa9439a873670440cf946af1c5707b4" + integrity sha512-w88fTTTkfDLHwcaVW8wiYjOtnBBToguzc6AyIldD1vOrCRTKxhQEDS8oIE7nWeSJ+kCoIeoHd79Mhwvntydixg== + easy-stack@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/easy-stack/-/easy-stack-1.0.1.tgz#8afe4264626988cabb11f3c704ccd0c835411066" From c381fbb340d92cd5ef34e25682e1bd70022e4ef2 Mon Sep 17 00:00:00 2001 From: sergemuhundu Date: Fri, 18 Oct 2024 00:32:53 +0100 Subject: [PATCH 2/5] put back ever team credentials --- apps/mobile/.env | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/mobile/.env b/apps/mobile/.env index 847ca4a32..63c69acaa 100644 --- a/apps/mobile/.env +++ b/apps/mobile/.env @@ -5,10 +5,10 @@ GAUZY_API_URL=https://api.gauzy.co INVITE_CALLBACK_URL=https://app.ever.team/auth/passcode EXPO_PUBLIC_SENTRY_DSN= SENTRY_ORG=ever-co -SENTRY_PROJECT=ever-cloc-mobile -EXPO_PROJECT_SLUG=ever-cloc-mobile -EXPO_PROJECT_NAME=Ever Cloc Mobile +SENTRY_PROJECT=ever-teams-mobile +EXPO_PROJECT_SLUG=ever-teams-mobile +EXPO_PROJECT_NAME=Ever Teams Mobile EXPO_PROJECT_OWNER=everco -EXPO_PROJECT_ID=540994c7-edcb-4c17-8d00-849fa3b4759a -EXPO_PROJECT_PACKAGE_NAME=ever.cloc -EXPO_PROJECT_IOS_BUNDLE_IDENTIFIER=co.ever.cloc +EXPO_PROJECT_ID=2ff924e4-7a91-4b23-9db9-7453a8063bb0 +EXPO_PROJECT_PACKAGE_NAME=ever.team +EXPO_PROJECT_IOS_BUNDLE_IDENTIFIER=co.ever.teams From 8684fd1f205d4ffa9d07ab7b716487c805cae7a0 Mon Sep 17 00:00:00 2001 From: sergemuhundu Date: Sat, 19 Oct 2024 12:42:33 +0100 Subject: [PATCH 3/5] Put back eas.json file, deleted by mistake --- .scripts/configure.mobile.ts | 4 +- apps/mobile/app.json | 94 ------------------------------------ apps/mobile/eas.json | 21 ++++++++ eas.json | 21 ++++++++ package.json | 10 ++-- yarn.lock | 46 +++++------------- 6 files changed, 63 insertions(+), 133 deletions(-) delete mode 100644 apps/mobile/app.json create mode 100644 apps/mobile/eas.json create mode 100644 eas.json diff --git a/.scripts/configure.mobile.ts b/.scripts/configure.mobile.ts index 66e05c3a3..29a8fc490 100644 --- a/.scripts/configure.mobile.ts +++ b/.scripts/configure.mobile.ts @@ -23,7 +23,9 @@ fs.copyFile(templatePath, appJsonPath, (err) => { .replace(/\$EXPO_PROJECT_SLUG/g, process.env.EXPO_PROJECT_SLUG) .replace(/\$EXPO_PROJECT_NAME/g, process.env.EXPO_PROJECT_NAME) .replace(/\$EXPO_PROJECT_OWNER/g, process.env.EXPO_PROJECT_OWNER) - .replace(/\$EXPO_PROJECT_ID/g, process.env.EXPO_PROJECT_ID); + .replace(/\$EXPO_PROJECT_ID/g, process.env.EXPO_PROJECT_ID) + .replace(/\$EXPO_PROJECT_PACKAGE_NAME/g, process.env.EXPO_PROJECT_PACKAGE_NAME) + .replace(/\$EXPO_PROJECT_IOS_BUNDLE_IDENTIFIER/g, process.env.EXPO_PROJECT_IOS_BUNDLE_IDENTIFIER); fs.writeFile(appJsonPath, updatedData, (err) => { if (err) { diff --git a/apps/mobile/app.json b/apps/mobile/app.json deleted file mode 100644 index 3cf22177d..000000000 --- a/apps/mobile/app.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "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": "co.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 new file mode 100644 index 000000000..72df2ccf8 --- /dev/null +++ b/apps/mobile/eas.json @@ -0,0 +1,21 @@ +{ + "cli": { + "version": ">= 12.5.3", + "appVersionSource": "remote" + }, + "build": { + "development": { + "developmentClient": true, + "distribution": "internal" + }, + "preview": { + "distribution": "internal" + }, + "production": { + "autoIncrement": true + } + }, + "submit": { + "production": {} + } +} diff --git a/eas.json b/eas.json new file mode 100644 index 000000000..72df2ccf8 --- /dev/null +++ b/eas.json @@ -0,0 +1,21 @@ +{ + "cli": { + "version": ">= 12.5.3", + "appVersionSource": "remote" + }, + "build": { + "development": { + "developmentClient": true, + "distribution": "internal" + }, + "preview": { + "distribution": "internal" + }, + "production": { + "autoIncrement": true + } + }, + "submit": { + "production": {} + } +} diff --git a/package.json b/package.json index c865b38ab..4948aeb7a 100644 --- a/package.json +++ b/package.json @@ -157,7 +157,7 @@ "resolutions": {}, "dependencies": { "@lexical/react": "^0.8.0", - "dotenv": "^16.0.3", + "dotenv": "^16.4.5", "lexical": "^0.8.0", "yargs": "^17.5.0" }, @@ -190,6 +190,7 @@ "@semantic-release/github": "^9.2.6", "@semantic-release/npm": "^11.0.0", "@types/detox": "^18.1.0", + "@types/electron": "^1.6.10", "@types/node": "^20.12.2", "@types/yargs": "^17.0.32", "@typescript-eslint/eslint-plugin": "5.60.1", @@ -212,21 +213,20 @@ "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.31.8", "husky": "^9.0.11", + "jimp": "^0.22.7", "lerna": "^8.1.2", "lerna-changelog": "^2.2.0", "lint-staged": "^10.4.0", "nx": "16.7.4", "nx-cloud": "16.3.0", + "png-to-ico": "^2.1.8", "prettier": "^3.2.5", "prettier-eslint-cli": "^8.0.1", "pretty-quick": "^4.0.0", "rimraf": "^5.0.5", "semantic-release": "^22.0.12", "simple-git": "^3.20.0", - "ts-node": "^10.9.2", - "@types/electron": "^1.6.10", - "jimp": "^0.22.7", - "png-to-ico": "^2.1.8" + "ts-node": "^10.9.2" }, "overrides": { "prebuild": { diff --git a/yarn.lock b/yarn.lock index f3a91d327..81ec4d8db 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13237,16 +13237,16 @@ dotenv-expand@~10.0.0: resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-10.0.0.tgz#12605d00fb0af6d0a592e6558585784032e4ef37" integrity sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A== -dotenv@^16.0.3, dotenv@~16.3.1: - version "16.3.1" - resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.3.1.tgz#369034de7d7e5b120972693352a3bf112172cc3e" - integrity sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ== - dotenv@^16.4.1: version "16.4.1" resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.4.1.tgz#1d9931f1d3e5d2959350d1250efab299561f7f11" integrity sha512-CjA3y+Dr3FyFDOAMnxZEGtnW9KBR2M0JvvUtXNW+dYJL5ROWxP9DUHCwgFqpMk0OXCc0ljhaNTr2w/kutYIcHQ== +dotenv@^16.4.5: + version "16.4.5" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.4.5.tgz#cdd3b3b604cb327e286b4762e13502f717cb099f" + integrity sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg== + dotenv@^8.2.0: version "8.6.0" resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.6.0.tgz#061af664d19f7f4d8fc6e4ff9b584ce237adcb8b" @@ -13262,6 +13262,11 @@ dotenv@~10.0.0: resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81" integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q== +dotenv@~16.3.1: + version "16.3.1" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.3.1.tgz#369034de7d7e5b120972693352a3bf112172cc3e" + integrity sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ== + dtrace-provider@~0.8: version "0.8.8" resolved "https://registry.yarnpkg.com/dtrace-provider/-/dtrace-provider-0.8.8.tgz#2996d5490c37e1347be263b423ed7b297fb0d97e" @@ -24672,16 +24677,7 @@ string-to-color@^2.2.2: lodash.words "^4.2.0" rgb-hex "^3.0.0" -"string-width-cjs@npm:string-width@^4.2.0": - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - -"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -24791,14 +24787,7 @@ stringify-object@^3.3.0: is-obj "^1.0.1" is-regexp "^1.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@6.0.1, strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -26848,7 +26837,7 @@ wordwrap@^1.0.0: resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -26866,15 +26855,6 @@ wrap-ansi@^6.0.1, wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" From 2eff9dcc1e60411c8d0d37b3c1ed1b48bb0641ef Mon Sep 17 00:00:00 2001 From: sergemuhundu Date: Sat, 19 Oct 2024 15:10:45 +0100 Subject: [PATCH 4/5] update github workflow for android and ios --- .github/workflows/mobile.apps.android.yml | 2 ++ .github/workflows/mobile.apps.ios.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/mobile.apps.android.yml b/.github/workflows/mobile.apps.android.yml index fd1d9ece6..4269fba01 100644 --- a/.github/workflows/mobile.apps.android.yml +++ b/.github/workflows/mobile.apps.android.yml @@ -70,6 +70,8 @@ jobs: EXPO_PROJECT_NAME: ${{ secrets.EXPO_PROJECT_NAME }} EXPO_PROJECT_OWNER: ${{ secrets.EXPO_PROJECT_OWNER }} EXPO_PROJECT_ID: ${{ secrets.EXPO_PROJECT_ID }} + EXPO_PROJECT_PACKAGE_NAME: ${{ secrets.EXPO_PROJECT_PACKAGE_NAME }} + EXPO_PROJECT_IOS_BUNDLE_IDENTIFIER: ${{ secrets.EXPO_PROJECT_IOS_BUNDLE_IDENTIFIER }} - name: Build on EAS run: cd apps/mobile && eas build --platform android --non-interactive diff --git a/.github/workflows/mobile.apps.ios.yml b/.github/workflows/mobile.apps.ios.yml index 6c6b30bdc..579a36f12 100644 --- a/.github/workflows/mobile.apps.ios.yml +++ b/.github/workflows/mobile.apps.ios.yml @@ -76,6 +76,8 @@ jobs: EXPO_PROJECT_NAME: ${{ secrets.EXPO_PROJECT_NAME }} EXPO_PROJECT_OWNER: ${{ secrets.EXPO_PROJECT_OWNER }} EXPO_PROJECT_ID: ${{ secrets.EXPO_PROJECT_ID }} + EXPO_PROJECT_PACKAGE_NAME: ${{ secrets.EXPO_PROJECT_PACKAGE_NAME }} + EXPO_PROJECT_IOS_BUNDLE_IDENTIFIER: ${{ secrets.EXPO_PROJECT_IOS_BUNDLE_IDENTIFIER }} - name: Build on EAS run: cd apps/mobile && eas build --platform ios --non-interactive From 356bf315fba88a7592e4b55d89eabe4a195b29e9 Mon Sep 17 00:00:00 2001 From: sergemuhundu Date: Sat, 26 Oct 2024 10:09:21 +0100 Subject: [PATCH 5/5] Update build status and ios credentials --- apps/mobile/eas.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/apps/mobile/eas.json b/apps/mobile/eas.json index 72df2ccf8..426019223 100644 --- a/apps/mobile/eas.json +++ b/apps/mobile/eas.json @@ -16,6 +16,20 @@ } }, "submit": { - "production": {} + "production": { + "production": { + "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" + } + } + } } }