From 95d69922778abd255bf886537f6d83b0493282dc Mon Sep 17 00:00:00 2001 From: sergemuhundu Date: Sat, 9 Nov 2024 13:45:26 +0100 Subject: [PATCH 1/2] Update eas publish command --- apps/mobile/app.json | 94 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 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..844872e30 --- /dev/null +++ b/apps/mobile/app.json @@ -0,0 +1,94 @@ +{ + "name": "ever-teams-mobile", + "displayName": "Ever Teams Mobile", + "expo": { + "name": "Ever Teams Mobile", + "slug": "ever-teams-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/2ff924e4-7a91-4b23-9db9-7453a8063bb0" + }, + "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.team", + "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.teams", + "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": "2ff924e4-7a91-4b23-9db9-7453a8063bb0" + } + }, + "runtimeVersion": "exposdk:48.0.0" + } +} From c6bf1dab72fb1be904b4c90100d0b47e050d69e9 Mon Sep 17 00:00:00 2001 From: sergemuhundu Date: Sat, 9 Nov 2024 13:46:30 +0100 Subject: [PATCH 2/2] Update eas publish command --- apps/mobile/.env | 1 + apps/mobile/app.json | 94 -------------------------------------------- 2 files changed, 1 insertion(+), 94 deletions(-) delete mode 100644 apps/mobile/app.json diff --git a/apps/mobile/.env b/apps/mobile/.env index 63c69acaa..cb0aa4b66 100644 --- a/apps/mobile/.env +++ b/apps/mobile/.env @@ -1,6 +1,7 @@ # NOTE: do NOT ever put here any secure settings! (e.g. Secret Keys) # We are using react-native-dotenv (.env) + GAUZY_API_URL=https://api.gauzy.co INVITE_CALLBACK_URL=https://app.ever.team/auth/passcode EXPO_PUBLIC_SENTRY_DSN= diff --git a/apps/mobile/app.json b/apps/mobile/app.json deleted file mode 100644 index 844872e30..000000000 --- a/apps/mobile/app.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "name": "ever-teams-mobile", - "displayName": "Ever Teams Mobile", - "expo": { - "name": "Ever Teams Mobile", - "slug": "ever-teams-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/2ff924e4-7a91-4b23-9db9-7453a8063bb0" - }, - "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.team", - "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.teams", - "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": "2ff924e4-7a91-4b23-9db9-7453a8063bb0" - } - }, - "runtimeVersion": "exposdk:48.0.0" - } -}