@@ -15,6 +15,9 @@ const personalTeamBundleIdentifier = repoEnv.T3CODE_IOS_PERSONAL_TEAM_BUNDLE_ID?
1515const IOS_BUNDLE_IDENTIFIER_PATTERN = / ^ [ A - Z a - z 0 - 9 - ] + (?: \. [ A - Z a - z 0 - 9 - ] + ) + $ / ;
1616
1717const 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" ;
1821
1922if (
2023 isIosPersonalTeamBuild &&
@@ -30,7 +33,7 @@ const DEVELOPMENT_ASSETS = {
3033 appIcon : fromRepoRoot ( BRAND_ASSET_PATHS . developmentIosIconPng ) ,
3134 iosIcon : fromRepoRoot ( BRAND_ASSET_PATHS . developmentIconComposerProject ) ,
3235 splashIcon : fromRepoRoot ( BRAND_ASSET_PATHS . developmentIosIconPng ) ,
33- androidAdaptiveForeground : fromRepoRoot ( BRAND_ASSET_PATHS . developmentUniversalIconPng ) ,
36+ androidAdaptiveForeground,
3437 androidAdaptiveBackgroundColor : "#00639B" ,
3538 androidMonochromeIcon : "./assets/android-icon-mark.png" ,
3639 androidNotificationIcon : "./assets/android-notification-icon.png" ,
@@ -41,7 +44,7 @@ const PREVIEW_ASSETS = {
4144 appIcon : fromRepoRoot ( BRAND_ASSET_PATHS . nightlyIosIconPng ) ,
4245 iosIcon : fromRepoRoot ( BRAND_ASSET_PATHS . nightlyIconComposerProject ) ,
4346 splashIcon : fromRepoRoot ( BRAND_ASSET_PATHS . nightlyIosIconPng ) ,
44- androidAdaptiveForeground : fromRepoRoot ( BRAND_ASSET_PATHS . nightlyLinuxIconPng ) ,
47+ androidAdaptiveForeground,
4548 androidAdaptiveBackgroundColor : "#111533" ,
4649 androidMonochromeIcon : "./assets/android-icon-mark.png" ,
4750 androidNotificationIcon : "./assets/android-notification-icon.png" ,
@@ -52,7 +55,7 @@ const RELEASE_ASSETS = {
5255 appIcon : fromRepoRoot ( BRAND_ASSET_PATHS . productionIosIconPng ) ,
5356 iosIcon : fromRepoRoot ( BRAND_ASSET_PATHS . productionIconComposerProject ) ,
5457 splashIcon : fromRepoRoot ( BRAND_ASSET_PATHS . productionIosIconPng ) ,
55- androidAdaptiveForeground : "./assets/android-icon-mark.png" ,
58+ androidAdaptiveForeground,
5659 androidAdaptiveBackgroundColor : "#000000" ,
5760 androidMonochromeIcon : "./assets/android-icon-mark.png" ,
5861 androidNotificationIcon : "./assets/android-notification-icon.png" ,
0 commit comments