From 22de4fd7af5038a1fc7744eef092cb248dcded63 Mon Sep 17 00:00:00 2001 From: D4ryl00 Date: Thu, 21 Nov 2024 16:18:32 +0100 Subject: [PATCH] chore: use new profile for local build Signed-off-by: D4ryl00 --- mobile/app.config.js | 4 ++-- mobile/eas.json | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/mobile/app.config.js b/mobile/app.config.js index 980af0a..5a793c9 100644 --- a/mobile/app.config.js +++ b/mobile/app.config.js @@ -4,11 +4,11 @@ export default ({ config }) => { ...config, ios: { ...config.ios, - googleServicesFile: process.env.GOOGLESERVICES_INFO_PLIST || "./GoogleService-Info.plist", + googleServicesFile: process.env.GOOGLESERVICES_INFO_PLIST, }, android: { ...config.android, - googleServicesFile: process.env.GOOGLE_SERVICES_JSON || "./google-services.json", + googleServicesFile: process.env.GOOGLE_SERVICES_JSON, }, }; } else { diff --git a/mobile/eas.json b/mobile/eas.json index 13676c8..51b9d68 100644 --- a/mobile/eas.json +++ b/mobile/eas.json @@ -19,6 +19,13 @@ "MY_ENVIRONMENT": "production" } }, + "local-production": { + "env": { + "MY_ENVIRONMENT": "production", + "GOOGLESERVICES_INFO_PLIST": "./GoogleService-Info.plist", + "GOOGLE_SERVICES_JSON": "./google-services.json" + } + }, "production": { "env": { "MY_ENVIRONMENT": "production"