From a6babaceaf3706a1c59f6b117049c6dfa3afd1e6 Mon Sep 17 00:00:00 2001 From: Hailey Date: Fri, 5 Apr 2024 13:29:54 -0700 Subject: [PATCH] adjust `app.config.js` to prevent development manifest error (#3413) --- app.config.js | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/app.config.js b/app.config.js index 21b794917b..9036d5e331 100644 --- a/app.config.js +++ b/app.config.js @@ -130,11 +130,15 @@ module.exports = function (config) { // TestFlight builds enabled: IS_TESTFLIGHT, fallbackToCacheTimeout: 30000, - codeSigningCertificate: './code-signing/certificate.pem', - codeSigningMetadata: { - keyid: 'main', - alg: 'rsa-v1_5-sha256', - }, + codeSigningCertificate: IS_TESTFLIGHT + ? './code-signing/certificate.pem' + : undefined, + codeSigningMetadata: IS_TESTFLIGHT + ? { + keyid: 'main', + alg: 'rsa-v1_5-sha256', + } + : undefined, checkAutomatically: 'NEVER', channel: UPDATES_CHANNEL, },