| ... | @@ -15,6 +15,9 @@ const personalTeamBundleIdentifier = repoEnv.T3CODE_IOS_PERSONAL_TEAM_BUNDLE_ID? | ... | @@ -15,6 +15,9 @@ const personalTeamBundleIdentifier = repoEnv.T3CODE_IOS_PERSONAL_TEAM_BUNDLE_ID? |
| 15 | const IOS_BUNDLE_IDENTIFIER_PATTERN = /^[A-Za-z0-9-]+(?:\.[A-Za-z0-9-]+)+$/; | 15 | const IOS_BUNDLE_IDENTIFIER_PATTERN = /^[A-Za-z0-9-]+(?:\.[A-Za-z0-9-]+)+$/; |
| 16 | | 16 | |
| 17 | const fromRepoRoot = (relativePath: string) => `../../${relativePath}`; | 17 | const fromRepoRoot = (relativePath: string) => `../../${relativePath}`; |
| | 18 | // Universal exports already contain their own rounded-square silhouette. Using one as an adaptive |
| | 19 | // foreground makes Android draw an icon shape inside the launcher's mask. |
| | 20 | const androidAdaptiveForeground = "./assets/android-icon-foreground.png"; |
| 18 | | 21 | |
| 19 | if ( | 22 | if ( |
| 20 | isIosPersonalTeamBuild && | 23 | isIosPersonalTeamBuild && |
| ... | @@ -30,7 +33,7 @@ const DEVELOPMENT_ASSETS = { | ... | @@ -30,7 +33,7 @@ const DEVELOPMENT_ASSETS = { |
| 30 | appIcon: fromRepoRoot(BRAND_ASSET_PATHS.developmentIosIconPng), | 33 | appIcon: fromRepoRoot(BRAND_ASSET_PATHS.developmentIosIconPng), |
| 31 | iosIcon: fromRepoRoot(BRAND_ASSET_PATHS.developmentIconComposerProject), | 34 | iosIcon: fromRepoRoot(BRAND_ASSET_PATHS.developmentIconComposerProject), |
| 32 | splashIcon: fromRepoRoot(BRAND_ASSET_PATHS.developmentIosIconPng), | 35 | splashIcon: fromRepoRoot(BRAND_ASSET_PATHS.developmentIosIconPng), |
| 33 | androidAdaptiveForeground: fromRepoRoot(BRAND_ASSET_PATHS.developmentUniversalIconPng), | 36 | androidAdaptiveForeground, |
| 34 | androidAdaptiveBackgroundColor: "#00639B", | 37 | androidAdaptiveBackgroundColor: "#00639B", |
| 35 | androidMonochromeIcon: "./assets/android-icon-mark.png", | 38 | androidMonochromeIcon: "./assets/android-icon-mark.png", |
| 36 | androidNotificationIcon: "./assets/android-notification-icon.png", | 39 | androidNotificationIcon: "./assets/android-notification-icon.png", |
| ... | @@ -41,7 +44,7 @@ const PREVIEW_ASSETS = { | ... | @@ -41,7 +44,7 @@ const PREVIEW_ASSETS = { |
| 41 | appIcon: fromRepoRoot(BRAND_ASSET_PATHS.nightlyIosIconPng), | 44 | appIcon: fromRepoRoot(BRAND_ASSET_PATHS.nightlyIosIconPng), |
| 42 | iosIcon: fromRepoRoot(BRAND_ASSET_PATHS.nightlyIconComposerProject), | 45 | iosIcon: fromRepoRoot(BRAND_ASSET_PATHS.nightlyIconComposerProject), |
| 43 | splashIcon: fromRepoRoot(BRAND_ASSET_PATHS.nightlyIosIconPng), | 46 | splashIcon: fromRepoRoot(BRAND_ASSET_PATHS.nightlyIosIconPng), |
| 44 | androidAdaptiveForeground: fromRepoRoot(BRAND_ASSET_PATHS.nightlyLinuxIconPng), | 47 | androidAdaptiveForeground, |
| 45 | androidAdaptiveBackgroundColor: "#111533", | 48 | androidAdaptiveBackgroundColor: "#111533", |
| 46 | androidMonochromeIcon: "./assets/android-icon-mark.png", | 49 | androidMonochromeIcon: "./assets/android-icon-mark.png", |
| 47 | androidNotificationIcon: "./assets/android-notification-icon.png", | 50 | androidNotificationIcon: "./assets/android-notification-icon.png", |
| ... | @@ -52,7 +55,7 @@ const RELEASE_ASSETS = { | ... | @@ -52,7 +55,7 @@ const RELEASE_ASSETS = { |
| 52 | appIcon: fromRepoRoot(BRAND_ASSET_PATHS.productionIosIconPng), | 55 | appIcon: fromRepoRoot(BRAND_ASSET_PATHS.productionIosIconPng), |
| 53 | iosIcon: fromRepoRoot(BRAND_ASSET_PATHS.productionIconComposerProject), | 56 | iosIcon: fromRepoRoot(BRAND_ASSET_PATHS.productionIconComposerProject), |
| 54 | splashIcon: fromRepoRoot(BRAND_ASSET_PATHS.productionIosIconPng), | 57 | splashIcon: fromRepoRoot(BRAND_ASSET_PATHS.productionIosIconPng), |
| 55 | androidAdaptiveForeground: "./assets/android-icon-mark.png", | 58 | androidAdaptiveForeground, |
| 56 | androidAdaptiveBackgroundColor: "#000000", | 59 | androidAdaptiveBackgroundColor: "#000000", |
| 57 | androidMonochromeIcon: "./assets/android-icon-mark.png", | 60 | androidMonochromeIcon: "./assets/android-icon-mark.png", |
| 58 | androidNotificationIcon: "./assets/android-notification-icon.png", | 61 | androidNotificationIcon: "./assets/android-notification-icon.png", |