From 02697bb7c8df48a752022ca23bd8fd3410d03d5e Mon Sep 17 00:00:00 2001 From: Hailey Date: Thu, 4 Apr 2024 17:21:51 -0700 Subject: [PATCH] rev change --- app.config.js | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/app.config.js b/app.config.js index 2095e55ab1..9036d5e331 100644 --- a/app.config.js +++ b/app.config.js @@ -124,22 +124,24 @@ module.exports = function (config) { web: { favicon: './assets/favicon.png', }, - // TODO Eventually we want to enable this for all environments, but for now it will only be used for - // TestFlight builds - updates: IS_TESTFLIGHT - ? { - url: 'https://updates.bsky.app/manifest', - enabled: true, - fallbackToCacheTimeout: 30000, - codeSigningCertificate: './code-signing/certificate.pem', - codeSigningMetadata: { + updates: { + url: 'https://updates.bsky.app/manifest', + // TODO Eventually we want to enable this for all environments, but for now it will only be used for + // TestFlight builds + enabled: IS_TESTFLIGHT, + fallbackToCacheTimeout: 30000, + codeSigningCertificate: IS_TESTFLIGHT + ? './code-signing/certificate.pem' + : undefined, + codeSigningMetadata: IS_TESTFLIGHT + ? { keyid: 'main', alg: 'rsa-v1_5-sha256', - }, - checkAutomatically: 'NEVER', - channel: UPDATES_CHANNEL, - } - : undefined, + } + : undefined, + checkAutomatically: 'NEVER', + channel: UPDATES_CHANNEL, + }, assetBundlePatterns: ['**/*'], plugins: [ 'expo-localization',