diff --git a/docs/MOBILE.md b/docs/MOBILE.md index c66d832..5233e72 100644 --- a/docs/MOBILE.md +++ b/docs/MOBILE.md @@ -88,6 +88,13 @@ not committed — 12 MB off a camera) is what `scripts/build-app-icons.mjs` turn base colour, fitted rather than cropped) for `@capacitor/assets`. Drop a replacement at that path and the script regenerates both; without it, it says so and skips them. +iOS launch screens are the same source: 14 `apple-touch-startup-image` entries in +`frontend/index.html`, one per device pixel size, cropped `cover` from the photograph by the same +script. They matter because an installed iOS web app paints its own screen *before* any of our code +runs — without a matching entry that screen is blank, which is the white flash on open that no CSS +can reach. The script fails if the sizes it generates and the sizes `index.html` links ever drift: +iOS answers a missing launch image with the blank screen, so a stale list is worse than no list. + Then generate the platform assets from it: ```sh diff --git a/frontend/index.html b/frontend/index.html index 2b98c0c..6671a33 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -16,6 +16,26 @@ + + + + + + + + + + + + + + + +