From c9c8e0065df3ab840a21c5d7c248ebbebf8f1aa2 Mon Sep 17 00:00:00 2001 From: Hailey Date: Thu, 4 Apr 2024 17:04:57 -0700 Subject: [PATCH] adjust `app.config.js` to prevent development manifest error --- app.config.js | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/app.config.js b/app.config.js index 21b794917b..2095e55ab1 100644 --- a/app.config.js +++ b/app.config.js @@ -124,20 +124,22 @@ module.exports = function (config) { web: { favicon: './assets/favicon.png', }, - 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: './code-signing/certificate.pem', - codeSigningMetadata: { - keyid: 'main', - alg: 'rsa-v1_5-sha256', - }, - checkAutomatically: 'NEVER', - channel: UPDATES_CHANNEL, - }, + // 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: { + keyid: 'main', + alg: 'rsa-v1_5-sha256', + }, + checkAutomatically: 'NEVER', + channel: UPDATES_CHANNEL, + } + : undefined, assetBundlePatterns: ['**/*'], plugins: [ 'expo-localization',