adjust app.config.js to prevent development manifest error

This commit is contained in:
Hailey
2024-04-04 17:04:57 -07:00
parent 872f5c062f
commit c9c8e0065d
+6 -4
View File
@@ -124,11 +124,12 @@ module.exports = function (config) {
web: { web: {
favicon: './assets/favicon.png', 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 // TODO Eventually we want to enable this for all environments, but for now it will only be used for
// TestFlight builds // TestFlight builds
enabled: IS_TESTFLIGHT, updates: IS_TESTFLIGHT
? {
url: 'https://updates.bsky.app/manifest',
enabled: true,
fallbackToCacheTimeout: 30000, fallbackToCacheTimeout: 30000,
codeSigningCertificate: './code-signing/certificate.pem', codeSigningCertificate: './code-signing/certificate.pem',
codeSigningMetadata: { codeSigningMetadata: {
@@ -137,7 +138,8 @@ module.exports = function (config) {
}, },
checkAutomatically: 'NEVER', checkAutomatically: 'NEVER',
channel: UPDATES_CHANNEL, channel: UPDATES_CHANNEL,
}, }
: undefined,
assetBundlePatterns: ['**/*'], assetBundlePatterns: ['**/*'],
plugins: [ plugins: [
'expo-localization', 'expo-localization',