From e7604c6b77794c6945ccb689c50c78c445ddf17b Mon Sep 17 00:00:00 2001 From: Abdrahman Oladimeji Date: Fri, 17 Jan 2025 02:44:21 +0100 Subject: [PATCH 1/2] update: added eas and fix missing image path --- app.json | 18 +++++++++++++----- eas.json | 29 +++++++++++++++++++++++++++++ package.json | 3 ++- 3 files changed, 44 insertions(+), 6 deletions(-) create mode 100644 eas.json diff --git a/app.json b/app.json index d6f13ca..5fcd2b2 100644 --- a/app.json +++ b/app.json @@ -4,7 +4,7 @@ "slug": "application", "version": "1.0.0", "orientation": "portrait", - "icon": "./assets/images/icon.png", + "icon": "./assets/images/guessmate_logo.png", "scheme": "myapp", "userInterfaceStyle": "automatic", "newArchEnabled": true, @@ -13,14 +13,14 @@ }, "android": { "adaptiveIcon": { - "foregroundImage": "./assets/images/adaptive-icon.png", + "foregroundImage": "./assets/images/guessmate_logo.png", "backgroundColor": "#ffffff" - } + }, + "package": "com.rahmlad.guessmate" }, "web": { "bundler": "metro", - "output": "static", - "favicon": "./assets/images/favicon.png" + "output": "static" }, "plugins": [ "expo-router", @@ -36,6 +36,14 @@ ], "experiments": { "typedRoutes": true + }, + "extra": { + "router": { + "origin": false + }, + "eas": { + "projectId": "73a2043e-343b-4171-93f3-4cbb596921c3" + } } } } diff --git a/eas.json b/eas.json new file mode 100644 index 0000000..b6629c3 --- /dev/null +++ b/eas.json @@ -0,0 +1,29 @@ +{ + "build": { + "development": { + "environment": "development" + }, + "preview": { + "android": { + "buildType": "apk" + }, + "environment": "preview" + }, + "preview2": { + "android": { + "gradleCommand": ":app:assembleRelease" + }, + "environment": "preview" + }, + "preview3": { + "developmentClient": true, + "environment": "preview" + }, + "production": { + "environment": "production" + }, + "my-profile": { + "environment": "production" + } + } +} diff --git a/package.json b/package.json index 12647be..9d79f59 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "ios": "expo start --ios", "web": "expo start --web", "test": "jest --watchAll", - "lint": "expo lint" + "lint": "expo lint", + "build-apk": "eas build -p android --profile preview" }, "jest": { "preset": "jest-expo" From 601ff6e2a8682b645993569c0d65e7a57933d7f5 Mon Sep 17 00:00:00 2001 From: Abdrahman Oladimeji Date: Fri, 17 Jan 2025 09:37:49 +0100 Subject: [PATCH 2/2] update: added eas and fix missing image path --- app.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.json b/app.json index 5fcd2b2..dd8a12c 100644 --- a/app.json +++ b/app.json @@ -27,7 +27,7 @@ [ "expo-splash-screen", { - "image": "./assets/images/splash-icon.png", + "image": "./assets/images/guessmate_logo.png", "imageWidth": 200, "resizeMode": "contain", "backgroundColor": "#ffffff"