diff --git a/app.config.js b/app.config.js index 0ed73cf5a7..83fa908bb9 100644 --- a/app.config.js +++ b/app.config.js @@ -35,6 +35,13 @@ module.exports = function (_config) { const USE_SENTRY = Boolean(process.env.SENTRY_AUTH_TOKEN) + const IOS_ICON_FILE = + PLATFORM === 'web' // web build doesn't like .icon files + ? './assets/app-icons/ios_icon_default_next.png' + : IS_TESTFLIGHT + ? './assets/app-icons/ios_icon_testflight.icon' + : './assets/app-icons/ios_icon_default.icon' + return { expo: { version: VERSION, @@ -55,10 +62,7 @@ module.exports = function (_config) { config: { usesNonExemptEncryption: false, }, - icon: - PLATFORM === 'web' // web build doesn't like .icon files - ? './assets/app-icons/ios_icon_default_next.png' - : './assets/app-icons/ios_icon_default.icon', + icon: IOS_ICON_FILE, infoPlist: { UIBackgroundModes: ['remote-notification'], NSCameraUsageDescription: diff --git a/assets/app-icons/ios_icon_testflight.icon/Assets/TestFlight notice.png b/assets/app-icons/ios_icon_testflight.icon/Assets/TestFlight notice.png new file mode 100644 index 0000000000..51f7a0bd29 Binary files /dev/null and b/assets/app-icons/ios_icon_testflight.icon/Assets/TestFlight notice.png differ diff --git a/assets/app-icons/ios_icon_testflight.icon/Assets/iOS transparent.png b/assets/app-icons/ios_icon_testflight.icon/Assets/iOS transparent.png new file mode 100644 index 0000000000..62168cac71 Binary files /dev/null and b/assets/app-icons/ios_icon_testflight.icon/Assets/iOS transparent.png differ diff --git a/assets/app-icons/ios_icon_testflight.icon/icon.json b/assets/app-icons/ios_icon_testflight.icon/icon.json new file mode 100644 index 0000000000..35bd57c146 --- /dev/null +++ b/assets/app-icons/ios_icon_testflight.icon/icon.json @@ -0,0 +1,113 @@ +{ + "fill" : { + "automatic-gradient" : "srgb:1.00000,1.00000,1.00000,1.00000" + }, + "groups" : [ + { + "blend-mode-specializations" : [ + { + "value" : "overlay" + }, + { + "appearance" : "dark", + "value" : "screen" + }, + { + "appearance" : "tinted", + "value" : "screen" + } + ], + "blur-material-specializations" : [ + { + "value" : 0.5 + }, + { + "appearance" : "dark", + "value" : 0.5 + }, + { + "appearance" : "tinted", + "value" : null + } + ], + "hidden" : false, + "layers" : [ + { + "image-name" : "TestFlight notice.png", + "name" : "TestFlight notice" + } + ], + "lighting" : "individual", + "position" : { + "scale" : 0.4, + "translation-in-points" : [ + 0, + 350 + ] + }, + "shadow" : { + "kind" : "neutral", + "opacity" : 0.5 + }, + "specular-specializations" : [ + { + "value" : false + }, + { + "appearance" : "dark", + "value" : false + }, + { + "appearance" : "tinted", + "value" : false + } + ], + "translucency-specializations" : [ + { + "value" : { + "enabled" : true, + "value" : 0.5 + } + }, + { + "appearance" : "dark", + "value" : { + "enabled" : true, + "value" : 0.5 + } + }, + { + "appearance" : "tinted", + "value" : { + "enabled" : true, + "value" : 0.5 + } + } + ] + }, + { + "layers" : [ + { + "fill" : "none", + "glass" : false, + "image-name" : "iOS transparent.png", + "name" : "iOS transparent" + } + ], + "shadow" : { + "kind" : "neutral", + "opacity" : 0.5 + }, + "translucency" : { + "enabled" : true, + "value" : 0.5 + } + } + ], + "supported-platforms" : { + "circles" : [ + "watchOS" + ], + "squares" : "shared" + } +} \ No newline at end of file