Bluesky app fork with some witchin' additions 💫 witchsky.app
bluesky fork client

Use a different icon for testflight builds (#10000)

authored by samuel.fm and committed by

GitHub 7cec490c 1281eb01

+121 -4
+8 -4
app.config.js
··· 35 35 36 36 const USE_SENTRY = Boolean(process.env.SENTRY_AUTH_TOKEN) 37 37 38 + const IOS_ICON_FILE = 39 + PLATFORM === 'web' // web build doesn't like .icon files 40 + ? './assets/app-icons/ios_icon_default_next.png' 41 + : IS_TESTFLIGHT 42 + ? './assets/app-icons/ios_icon_testflight.icon' 43 + : './assets/app-icons/ios_icon_default.icon' 44 + 38 45 return { 39 46 expo: { 40 47 version: VERSION, ··· 55 62 config: { 56 63 usesNonExemptEncryption: false, 57 64 }, 58 - icon: 59 - PLATFORM === 'web' // web build doesn't like .icon files 60 - ? './assets/app-icons/ios_icon_default_next.png' 61 - : './assets/app-icons/ios_icon_default.icon', 65 + icon: IOS_ICON_FILE, 62 66 infoPlist: { 63 67 UIBackgroundModes: ['remote-notification'], 64 68 NSCameraUsageDescription:
assets/app-icons/ios_icon_testflight.icon/Assets/TestFlight notice.png

This is a binary file and will not be displayed.

assets/app-icons/ios_icon_testflight.icon/Assets/iOS transparent.png

This is a binary file and will not be displayed.

+113
assets/app-icons/ios_icon_testflight.icon/icon.json
··· 1 + { 2 + "fill" : { 3 + "automatic-gradient" : "srgb:1.00000,1.00000,1.00000,1.00000" 4 + }, 5 + "groups" : [ 6 + { 7 + "blend-mode-specializations" : [ 8 + { 9 + "value" : "overlay" 10 + }, 11 + { 12 + "appearance" : "dark", 13 + "value" : "screen" 14 + }, 15 + { 16 + "appearance" : "tinted", 17 + "value" : "screen" 18 + } 19 + ], 20 + "blur-material-specializations" : [ 21 + { 22 + "value" : 0.5 23 + }, 24 + { 25 + "appearance" : "dark", 26 + "value" : 0.5 27 + }, 28 + { 29 + "appearance" : "tinted", 30 + "value" : null 31 + } 32 + ], 33 + "hidden" : false, 34 + "layers" : [ 35 + { 36 + "image-name" : "TestFlight notice.png", 37 + "name" : "TestFlight notice" 38 + } 39 + ], 40 + "lighting" : "individual", 41 + "position" : { 42 + "scale" : 0.4, 43 + "translation-in-points" : [ 44 + 0, 45 + 350 46 + ] 47 + }, 48 + "shadow" : { 49 + "kind" : "neutral", 50 + "opacity" : 0.5 51 + }, 52 + "specular-specializations" : [ 53 + { 54 + "value" : false 55 + }, 56 + { 57 + "appearance" : "dark", 58 + "value" : false 59 + }, 60 + { 61 + "appearance" : "tinted", 62 + "value" : false 63 + } 64 + ], 65 + "translucency-specializations" : [ 66 + { 67 + "value" : { 68 + "enabled" : true, 69 + "value" : 0.5 70 + } 71 + }, 72 + { 73 + "appearance" : "dark", 74 + "value" : { 75 + "enabled" : true, 76 + "value" : 0.5 77 + } 78 + }, 79 + { 80 + "appearance" : "tinted", 81 + "value" : { 82 + "enabled" : true, 83 + "value" : 0.5 84 + } 85 + } 86 + ] 87 + }, 88 + { 89 + "layers" : [ 90 + { 91 + "fill" : "none", 92 + "glass" : false, 93 + "image-name" : "iOS transparent.png", 94 + "name" : "iOS transparent" 95 + } 96 + ], 97 + "shadow" : { 98 + "kind" : "neutral", 99 + "opacity" : 0.5 100 + }, 101 + "translucency" : { 102 + "enabled" : true, 103 + "value" : 0.5 104 + } 105 + } 106 + ], 107 + "supported-platforms" : { 108 + "circles" : [ 109 + "watchOS" 110 + ], 111 + "squares" : "shared" 112 + } 113 + }