diff --git a/android/app/src/main/res/drawable-hdpi/ic_stat_ditto.png b/android/app/src/main/res/drawable-hdpi/ic_stat_ditto.png index 8bd397a1..6b3cca03 100644 Binary files a/android/app/src/main/res/drawable-hdpi/ic_stat_ditto.png and b/android/app/src/main/res/drawable-hdpi/ic_stat_ditto.png differ diff --git a/android/app/src/main/res/drawable-land-hdpi/splash.png b/android/app/src/main/res/drawable-land-hdpi/splash.png deleted file mode 100644 index bdedd15f..00000000 Binary files a/android/app/src/main/res/drawable-land-hdpi/splash.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-land-mdpi/splash.png b/android/app/src/main/res/drawable-land-mdpi/splash.png deleted file mode 100644 index 43319651..00000000 Binary files a/android/app/src/main/res/drawable-land-mdpi/splash.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-land-xhdpi/splash.png b/android/app/src/main/res/drawable-land-xhdpi/splash.png deleted file mode 100644 index 1c708bbc..00000000 Binary files a/android/app/src/main/res/drawable-land-xhdpi/splash.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-land-xxhdpi/splash.png b/android/app/src/main/res/drawable-land-xxhdpi/splash.png deleted file mode 100644 index b0a290ce..00000000 Binary files a/android/app/src/main/res/drawable-land-xxhdpi/splash.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-land-xxxhdpi/splash.png b/android/app/src/main/res/drawable-land-xxxhdpi/splash.png deleted file mode 100644 index c23c941a..00000000 Binary files a/android/app/src/main/res/drawable-land-xxxhdpi/splash.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-mdpi/ic_stat_ditto.png b/android/app/src/main/res/drawable-mdpi/ic_stat_ditto.png index a76aef5e..5ef942f2 100644 Binary files a/android/app/src/main/res/drawable-mdpi/ic_stat_ditto.png and b/android/app/src/main/res/drawable-mdpi/ic_stat_ditto.png differ diff --git a/android/app/src/main/res/drawable-port-hdpi/splash.png b/android/app/src/main/res/drawable-port-hdpi/splash.png deleted file mode 100644 index 731a4d71..00000000 Binary files a/android/app/src/main/res/drawable-port-hdpi/splash.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-port-mdpi/splash.png b/android/app/src/main/res/drawable-port-mdpi/splash.png deleted file mode 100644 index 1b23fa4d..00000000 Binary files a/android/app/src/main/res/drawable-port-mdpi/splash.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-port-xhdpi/splash.png b/android/app/src/main/res/drawable-port-xhdpi/splash.png deleted file mode 100644 index 8c92000b..00000000 Binary files a/android/app/src/main/res/drawable-port-xhdpi/splash.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-port-xxhdpi/splash.png b/android/app/src/main/res/drawable-port-xxhdpi/splash.png deleted file mode 100644 index 7a91a0db..00000000 Binary files a/android/app/src/main/res/drawable-port-xxhdpi/splash.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-port-xxxhdpi/splash.png b/android/app/src/main/res/drawable-port-xxxhdpi/splash.png deleted file mode 100644 index eabe70a3..00000000 Binary files a/android/app/src/main/res/drawable-port-xxxhdpi/splash.png and /dev/null differ diff --git a/android/app/src/main/res/drawable-xhdpi/ic_stat_ditto.png b/android/app/src/main/res/drawable-xhdpi/ic_stat_ditto.png index f1df2bb6..dcb42219 100644 Binary files a/android/app/src/main/res/drawable-xhdpi/ic_stat_ditto.png and b/android/app/src/main/res/drawable-xhdpi/ic_stat_ditto.png differ diff --git a/android/app/src/main/res/drawable-xxhdpi/ic_stat_ditto.png b/android/app/src/main/res/drawable-xxhdpi/ic_stat_ditto.png index a6ded8df..f4648c21 100644 Binary files a/android/app/src/main/res/drawable-xxhdpi/ic_stat_ditto.png and b/android/app/src/main/res/drawable-xxhdpi/ic_stat_ditto.png differ diff --git a/android/app/src/main/res/drawable-xxxhdpi/ic_stat_ditto.png b/android/app/src/main/res/drawable-xxxhdpi/ic_stat_ditto.png index a748e85d..a025090e 100644 Binary files a/android/app/src/main/res/drawable-xxxhdpi/ic_stat_ditto.png and b/android/app/src/main/res/drawable-xxxhdpi/ic_stat_ditto.png differ diff --git a/android/app/src/main/res/drawable/splash.png b/android/app/src/main/res/drawable/splash.png deleted file mode 100644 index 8c2352de..00000000 Binary files a/android/app/src/main/res/drawable/splash.png and /dev/null differ diff --git a/android/app/src/main/res/drawable/splash_icon.png b/android/app/src/main/res/drawable/splash_icon.png deleted file mode 100644 index 6d757c48..00000000 Binary files a/android/app/src/main/res/drawable/splash_icon.png and /dev/null differ diff --git a/android/app/src/main/res/drawable/splash_icon_vector.xml b/android/app/src/main/res/drawable/splash_icon_vector.xml index e8c3a9f7..ec88ec7b 100644 --- a/android/app/src/main/res/drawable/splash_icon_vector.xml +++ b/android/app/src/main/res/drawable/splash_icon_vector.xml @@ -5,26 +5,24 @@ android:viewportHeight="1200"> + android:translateX="200" + android:translateY="255.33" + android:scaleX="0.5533" + android:scaleY="0.5533"> - + android:fillType="evenOdd" + android:pathData="M 877.500 2.654 C 847.564 5.036, 836.262 6.480, 815.500 10.578 C 779.148 17.754, 735.131 29.249, 643.500 55.494 C 513.221 92.809, 475.393 100.187, 399.624 103.059 C 346.490 105.074, 292.900 102.185, 257.885 95.418 C 223.779 88.828, 202.805 81.090, 157.106 58.237 C 124.261 41.812, 121.317 40.536, 116.230 40.518 C 109.058 40.494, 108.132 41.813, 109.774 49.704 C 111.340 57.226, 123.591 81.628, 134.849 99.648 C 172.773 160.351, 223.160 202.152, 283.479 222.951 C 307.681 231.296, 326.888 235.072, 359.886 237.971 C 372.198 239.053, 382.413 240.080, 382.587 240.253 C 382.926 240.593, 354.874 257.625, 333 270.359 C 270.955 306.481, 214.875 329.209, 157.641 341.430 C 127.509 347.864, 101.688 350.999, 58.265 353.495 C 15.337 355.963, 4 358.417, 4 365.243 C 4 370.283, 18.850 380.509, 45.500 393.821 C 135.454 438.754, 232.784 442.600, 344.406 405.633 C 356.282 401.699, 366 398.771, 366 399.126 C 366 400.881, 355.800 411.726, 344.323 422.173 C 316.785 447.241, 294.053 465.161, 269.257 481.350 C 231.422 506.051, 214.480 514.974, 183.500 526.515 C 154.231 537.420, 146 541.848, 146 546.688 C 146 549.736, 152.223 554.911, 158.295 556.910 C 173.004 561.754, 181.120 562.485, 220 562.465 C 259.729 562.445, 267.002 561.837, 297.578 555.985 C 306.242 554.327, 314.157 553.232, 315.166 553.553 C 320.715 555.314, 319.802 560.054, 306.701 597.520 C 292.438 638.308, 289.566 647.679, 281.577 679.500 C 266.869 738.077, 254.408 808.599, 246.590 877.500 C 241.577 921.684, 240.591 937.667, 240.544 975.500 C 240.487 1022.166, 240.926 1024.881, 252.107 1047 C 267.900 1078.242, 284.396 1098.434, 311.500 1119.701 C 379.647 1173.173, 505.510 1224.742, 589.045 1233.419 C 617.554 1236.380, 646.221 1237.275, 693.500 1236.679 C 739.201 1236.103, 752.550 1235.394, 773.354 1232.441 C 786.221 1230.615, 792 1228.589, 792 1225.906 C 792 1219.118, 733.150 1185.773, 669.630 1156.571 C 634.434 1140.389, 609.640 1130.682, 588.603 1124.849 C 573.982 1120.794, 569.503 1118.629, 567.943 1114.862 C 566.907 1112.362, 566.960 1111.306, 568.258 1108.585 C 570.610 1103.654, 575.731 1101.612, 586.853 1101.171 C 628.283 1099.528, 715.224 1133.800, 787.500 1180.266 C 804.184 1190.993, 811.116 1194.553, 813.519 1193.631 C 816.090 1192.644, 815.056 1186.128, 808.568 1162.431 C 795.620 1115.146, 781.589 1081.862, 762.648 1053.500 C 751.079 1036.178, 736.578 1017.608, 724.469 1004.609 C 713.365 992.688, 709.250 988.608, 691.962 972.370 C 687.539 968.215, 685.950 965.787, 683.612 959.604 C 681.234 953.319, 680.824 950.998, 681.290 946.479 C 682.405 935.680, 687.598 930.009, 701.360 924.563 C 712.575 920.125, 722.626 918.667, 737.500 919.320 C 762.566 920.421, 789.855 926.924, 851.500 946.488 C 871.700 952.899, 897.349 960.154, 904.250 961.409 C 907.532 962.006, 908 961.848, 908 960.144 C 908 951.296, 846.055 892.251, 771.500 830.034 C 733.986 798.729, 704.469 775.866, 681.249 760.128 C 666.329 750.016, 659.744 743.325, 660.188 738.727 C 660.855 731.822, 673.064 730.180, 689 734.853 C 700.447 738.209, 718.889 746.111, 727.577 751.383 C 748.576 764.124, 793.139 795.927, 816.755 815.026 C 905.578 886.857, 979.896 978.074, 980.305 1015.762 C 980.425 1026.836, 974.678 1031.500, 962 1030.617 C 952.596 1029.963, 945.255 1027.700, 922 1018.286 C 891.022 1005.746, 801.353 976.400, 770.902 968.836 C 748.403 963.248, 747.717 965.658, 766.017 986 C 787.946 1010.375, 806.013 1038.018, 822.556 1072.500 C 837.322 1103.279, 845.019 1124.984, 855.004 1164 C 862.824 1194.554, 864.992 1200.838, 869.146 1204.992 C 875.083 1210.929, 881.713 1209.702, 919 1195.768 C 956.608 1181.713, 984.871 1168.709, 1009.201 1154.266 C 1025.140 1144.804, 1036.018 1136.650, 1053.072 1121.379 C 1060.458 1114.767, 1071.900 1104.740, 1078.500 1099.097 C 1092.808 1086.864, 1101.725 1077.274, 1114.137 1060.766 C 1119.210 1054.020, 1125.925 1045.350, 1129.061 1041.500 C 1132.196 1037.650, 1138.126 1028.875, 1142.239 1022 C 1158.078 995.521, 1184 947.365, 1184 944.418 C 1184 942.975, 1177.575 941.763, 1152.500 938.474 C 1051.311 925.200, 1000.594 896.074, 952.305 823.500 C 936.282 799.420, 933.403 793.677, 927.524 774.079 C 917.482 740.605, 917.415 740.111, 918.770 709.752 C 921.594 646.482, 932.591 598.430, 954.540 553.461 C 989.255 482.338, 1056.369 421.081, 1147.297 377.525 C 1195.910 354.239, 1251.865 337.217, 1302 330.461 C 1308.325 329.609, 1323.198 328.643, 1335.051 328.315 C 1367.672 327.412, 1386.275 329.874, 1413.354 338.681 C 1429.483 343.926, 1437.224 344.776, 1439.579 341.559 C 1442.963 336.936, 1440.064 313.224, 1433.443 291.381 C 1414.177 227.821, 1364.973 181.712, 1289.027 156.050 C 1259.352 146.022, 1226.691 139.247, 1185.007 134.470 C 1164.303 132.098, 1161.561 130.391, 1150.501 113 C 1110.524 50.137, 1031.552 10.568, 931 3.018 C 918.679 2.093, 887.242 1.879, 877.500 2.654 M 916 146.678 C 892.151 148.012, 852.792 155.745, 831.537 163.272 L 827.574 164.676 839.537 166.430 C 867.220 170.489, 874.910 173.908, 903.085 194.682 C 918.528 206.068, 927.666 211.932, 936.830 216.334 C 945.490 220.495, 945.513 220.500, 957 220.444 C 969.977 220.380, 974.457 219.173, 1004 207.781 C 1029.738 197.856, 1039 193.024, 1039 189.522 C 1039 187.579, 1032.869 182.421, 1023 176.060 C 1002.711 162.984, 981.735 154.014, 962.148 150.038 C 952.906 148.162, 929.561 145.798, 924.105 146.185 C 922.672 146.287, 919.025 146.508, 916 146.678" /> diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png index cfe61eb6..61cd012f 100644 Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png index 922f510d..ff5f17e2 100644 Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png index a27019d7..c9a2d9ac 100644 Binary files a/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png index 0863854c..20923f88 100644 Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png index 6b666cea..c00eeded 100644 Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png index 0863854c..60985cf8 100644 Binary files a/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_stat_ditto.png b/android/app/src/main/res/mipmap-mdpi/ic_stat_ditto.png index a76aef5e..5ef942f2 100644 Binary files a/android/app/src/main/res/mipmap-mdpi/ic_stat_ditto.png and b/android/app/src/main/res/mipmap-mdpi/ic_stat_ditto.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png index 5b2b25c0..84a7e37f 100644 Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png index 82f09771..f2a7a93b 100644 Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png index b5d37d21..66765169 100644 Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_stat_ditto.png b/android/app/src/main/res/mipmap-xhdpi/ic_stat_ditto.png index f1df2bb6..dcb42219 100644 Binary files a/android/app/src/main/res/mipmap-xhdpi/ic_stat_ditto.png and b/android/app/src/main/res/mipmap-xhdpi/ic_stat_ditto.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png index 926c8450..9cfbd597 100644 Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png index ec1be8cf..15c097af 100644 Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png index 924cf143..92c82ada 100644 Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_stat_ditto.png b/android/app/src/main/res/mipmap-xxhdpi/ic_stat_ditto.png index a6ded8df..f4648c21 100644 Binary files a/android/app/src/main/res/mipmap-xxhdpi/ic_stat_ditto.png and b/android/app/src/main/res/mipmap-xxhdpi/ic_stat_ditto.png differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png index 4ba1f167..c4deb608 100644 Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png index 227dc82e..8e5cb14b 100644 Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png index b400ce6d..e245c75d 100644 Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_stat_ditto.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_stat_ditto.png index a748e85d..a025090e 100644 Binary files a/android/app/src/main/res/mipmap-xxxhdpi/ic_stat_ditto.png and b/android/app/src/main/res/mipmap-xxxhdpi/ic_stat_ditto.png differ diff --git a/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png b/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png index 526ac11c..2dbd0701 100644 Binary files a/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png and b/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png differ diff --git a/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png b/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png index 33ea6c97..33af969a 100644 Binary files a/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png and b/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png differ diff --git a/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png b/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png index 33ea6c97..33af969a 100644 Binary files a/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png and b/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png differ diff --git a/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png b/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png index 33ea6c97..33af969a 100644 Binary files a/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png and b/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png differ diff --git a/public/icon-192.png b/public/icon-192.png index 69eea145..c4deb608 100644 Binary files a/public/icon-192.png and b/public/icon-192.png differ diff --git a/public/icon-512.png b/public/icon-512.png index 2e137f50..49f76d7c 100644 Binary files a/public/icon-512.png and b/public/icon-512.png differ diff --git a/scripts/generate-icons.sh b/scripts/generate-icons.sh index 798d45a7..45a22ca2 100644 --- a/scripts/generate-icons.sh +++ b/scripts/generate-icons.sh @@ -67,6 +67,19 @@ else rsvg-convert -h 1024 "$LOGO_WHITE_SVG" -o "$LOGO_WHITE" fi +# Orange-fill render, for marks placed on a white/light background (iOS splash). +LOGO_ORANGE_SVG="$TMPDIR/logo_orange.svg" +LOGO_ORANGE="$TMPDIR/logo_orange.png" +sed -e 's/fill="black"/fill="'"$BG_COLOR"'"/g' \ + -e 's/#000000/'"$BG_COLOR"'/g' \ + -e 's/#7c52e0/'"$BG_COLOR"'/g' \ + -e 's/#fcd414/'"$BG_COLOR"'/g' "$SOURCE_SVG" > "$LOGO_ORANGE_SVG" +if [ "$SVG_RENDERER" = "inkscape" ]; then + inkscape --export-type=png --export-filename="$LOGO_ORANGE" -h 1024 "$LOGO_ORANGE_SVG" 2>/dev/null +else + rsvg-convert -h 1024 "$LOGO_ORANGE_SVG" -o "$LOGO_ORANGE" +fi + # ── Adaptive icon foreground PNGs (transparent bg, white logo, safe-zone padding) ── # Content at 47% of canvas to fit within Android's adaptive icon safe zone. @@ -137,12 +150,41 @@ make_legacy_square 192 android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png # Web logo.png (AppDownloadNudge) uses the same round brand-mark style. make_legacy_round 512 public/logo.png +# PWA install icons (manifest.webmanifest "any" + "maskable" purposes). +make_legacy_round 192 public/icon-192.png +make_legacy_round 512 public/icon-512.png + make_legacy_round 48 android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png make_legacy_round 72 android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png make_legacy_round 96 android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png make_legacy_round 144 android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png make_legacy_round 192 android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +# ── Android push-notification status-bar icon (ic_stat_ditto) ── +# Must be a flat white silhouette on transparent — the OS tints it, any +# color/gradient gets ignored or looks wrong. Referenced directly by +# NostrPoller.java / NotificationRelayService.java via R.drawable.ic_stat_ditto. + +echo "Generating notification status-bar icon (ic_stat_ditto)..." + +make_notification_icon() { + local size=$1 + local content_size=$(echo "$size * 80 / 100" | bc) + local dest=$2 + $MAGICK -size "${size}x${size}" "xc:none" \ + \( "$LOGO_WHITE" -resize "${content_size}x${content_size}" \) \ + -gravity center -compose over -composite \ + "$dest" +} + +for dir in drawable mipmap; do + make_notification_icon 24 android/app/src/main/res/${dir}-mdpi/ic_stat_ditto.png + make_notification_icon 48 android/app/src/main/res/${dir}-xhdpi/ic_stat_ditto.png + make_notification_icon 72 android/app/src/main/res/${dir}-xxhdpi/ic_stat_ditto.png + make_notification_icon 96 android/app/src/main/res/${dir}-xxxhdpi/ic_stat_ditto.png +done +make_notification_icon 36 android/app/src/main/res/drawable-hdpi/ic_stat_ditto.png + # Update background color BACKGROUND_COLOR_FILE="android/app/src/main/res/values/ic_launcher_background.xml" mkdir -p android/app/src/main/res/values @@ -171,6 +213,26 @@ else echo -e " ${YELLOW}Skipped: $IOS_ICON_DIR not found${NC}" fi +# ── iOS launch screen (Splash.imageset, 2732x2732, white bg + small mark) ── +# Referenced by LaunchScreen.storyboard. Ships one image for all 3 scale +# slots (1x/2x/3x), matching how the project already had it set up. + +echo "Generating iOS launch screen..." + +IOS_SPLASH_DIR="ios/App/App/Assets.xcassets/Splash.imageset" + +if [ -d "$IOS_SPLASH_DIR" ]; then + $MAGICK -size "2732x2732" "xc:white" \ + \( "$LOGO_ORANGE" -resize "160x160" \) \ + -gravity center -compose over -composite \ + "$IOS_SPLASH_DIR/splash-2732x2732.png" + cp "$IOS_SPLASH_DIR/splash-2732x2732.png" "$IOS_SPLASH_DIR/splash-2732x2732-1.png" + cp "$IOS_SPLASH_DIR/splash-2732x2732.png" "$IOS_SPLASH_DIR/splash-2732x2732-2.png" + echo -e " ${GREEN}✓${NC} $IOS_SPLASH_DIR (3 files)" +else + echo -e " ${YELLOW}Skipped: $IOS_SPLASH_DIR not found${NC}" +fi + # Cleanup temp files rm -rf "$TMPDIR"