From aed3c65eb93a64176309b068c6dc6a60aee31b93 Mon Sep 17 00:00:00 2001 From: Nicolas Ayral Seydoux Date: Wed, 11 Sep 2024 15:03:56 +0200 Subject: [PATCH] Only enforce env validation at build time --- app.config.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app.config.ts b/app.config.ts index dbd3701..6c035e7 100644 --- a/app.config.ts +++ b/app.config.ts @@ -41,8 +41,10 @@ function validateEnv() { ); } } -// Check that all required environment variables are defined at build time. -validateEnv(); +if (process.env.EAS_BUILD === "true") { + // Check that all required environment variables are defined at build time. + validateEnv(); +} const baseConfig: ExpoConfig = { name: "inrupt-data-wallet",