# Placeholder icons kept a PWA uninstallable

> A dev.to report traces a web app that never became installable to two 68-byte placeholder icon files sitting behind a manifest that declared full-size icons.

A food-logging web app had never been installable on a real phone because its two icon files were 68-byte, one-by-one-pixel placeholders despite full-size manifest declarations. The dev.to account thekilteddev reported the finding in "Never installable" on 2026-09-19. One technical person had built the proof of concept alongside an NHS dietetic team; its service worker, manifest, and caching logic had been correct from the start
([the report](https://dev.to/thekilteddev/never-installable-2fh4)).

The report frames the three days before that discovery in the same terms: the app
worked, or seemed to, every test passed, every review came back clean, and nothing
had ever said that installation was not available. It records debugging on a
physical device, the only context that exposed these bugs; it does not announce a product
([the report](https://dev.to/thekilteddev/never-installable-2fh4)).

<span id="what-the-report-traces"></span>

## Placeholder icons and export failures

The author traced the installation failure to the icon files after pursuing two incorrect theories. Export failures surfaced during the same debugging session
([the report](https://dev.to/thekilteddev/never-installable-2fh4)).

### The two placeholder files

The report's account of the icon bug is specific about what Chrome does with a
declaration it cannot satisfy. It says Chrome checks that a PWA's declared
icons actually exist at the sizes it claims, that when they do not, nothing in the
console warns about it and no error ever fires, and that the "Install app" option
simply does not appear. It adds that "Add to Home Screen" still worked, but could
only ever produce a bookmark shortcut; it did not install the app, so offline
never worked either
([the report](https://dev.to/thekilteddev/never-installable-2fh4)).

MDN documents the manifest side of that check. It says Chromium-based
browsers, including Google Chrome, Samsung Internet, and Microsoft Edge, require
that the manifest includes `name` or `short_name`, a `start_url`, `display` and/or
`display_override`, `prefer_related_applications` set to `false` or absent, and an
`icons` member that must contain a 192px and a 512px icon. It also states that
while service workers are not a requirement for a PWA to be installable, many PWAs
use them to provide an offline experience, which is the order of dependency the
report ran into from the other end
([MDN, Making PWAs installable](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Guides/Making_PWAs_installable)).

The `icons` reference adds the detail that makes a declared size load-bearing. MDN says for raster formats like PNG, specifying the exact available sizes is
recommended, and that for vector formats like SVG, `any` can be used to indicate
scalability. A `sizes` value is therefore a claim about the bytes on disk, and the
report's two files were the same claim with nothing behind it
([MDN, icons](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest/Reference/icons)).

### The theories that came first

Before anyone opened the icon files, the report states that two other explanations
took the blame. The first was the browser: that DuckDuckGo's PWA support might be
incomplete. The second was the host: that something about how Namecheap served the
files was the difference from the version that had worked on Netlify. The author reports that both theories were plausible and both were wrong, and that an earlier
comparison between the two hosts had already been written up as "decisive,
host-specific"
([the report](https://dev.to/thekilteddev/never-installable-2fh4)).

The browser theory was plausible for a documented reason. MDN says on
Android the only browsers that install PWAs as WebAPKs are Chrome on devices with
Google Mobile Services and Samsung Internet on Samsung devices, and that Firefox,
Edge, Opera, and other browsers, including Chrome on devices where Google Mobile
Services is not present, instead add a browser-badged home-screen shortcut that
opens the site in the browser. A home-screen entry that behaves like a bookmark is
thus an expected outcome on several Android browsers, independent of any icon bug,
which is exactly what makes it a poor signal to debug against
([MDN, Making PWAs installable](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Guides/Making_PWAs_installable)).

The report's resolution of the host theory is that the real difference was cache
temperature; the host was not responsible. It says Netlify's service-worker cache had
been warm for months while Namecheap's was cold, that the warm cache had quietly
been hiding two unrelated bugs the whole time, and that what surfaced all three
bugs at once was a fresh cache forcing every code path to run for real, on a real
phone, for the first time
([the report](https://dev.to/thekilteddev/never-installable-2fh4)).

### The export path, found on a phone

The report gives four export bugs and attributes all four to real-device testing.
The first was a silent no-op when someone tapped "Download" on an Android phone in
DuckDuckGo, because a CDN script, `xlsx.full.min.js`, that the service worker had
not cached could fail to load without throwing anything visible. The fix for that
introduced the second: the downloaded file came back as `.bin` instead of `.xlsx`,
because the fallback download mechanism was not reliably setting the file's MIME
type on that browser, which the report fixed by building the download from an
explicit Blob
([the report](https://dev.to/thekilteddev/never-installable-2fh4)).

The third is the one with a platform rule behind it. The author reports that the app
reported "Downloaded" with nothing actually appearing, because the click handler
waited on three IndexedDB round-trips before triggering the download, and that wait
was long enough for the phone to quietly expire the tap's permission to trigger one
at all. Its fix was to pre-build the export the moment the screen opened, so the
tap had almost nothing left to wait on
([the report](https://dev.to/thekilteddev/never-installable-2fh4)).

MDN's definition of transient activation describes the state that expired. It says transient activation is a window state indicating that a user has
recently directly and meaningfully interacted with the window, that the state is
enabled following interactions such as a `touchend` event, that it expires after a
timeout if not renewed by further interaction, and that it may also be consumed or
deactivated after using some gated features. It also states that transient
activation is commonly used as a mechanism for ensuring that a web API can only
function if triggered by user interaction
([MDN, Transient activation](https://developer.mozilla.org/en-US/docs/Glossary/Transient_activation)).

The report attributes the fourth bug to the platform and rules out the app. It says sharing the file to WhatsApp on Chrome for Android threw a permission error
even though the browser's own API had said sharing was possible, and that an A/B
test settled why: a plain text file shared fine, while the identical share swapped
to the real xlsx MIME type failed every time. The report's reading is that Android
Chrome's own share implementation rejects the file type at the native layer, and
that the fix catches that specific failure
and falls back to the working download path; it does not work around the share rejection
([the report](https://dev.to/thekilteddev/never-installable-2fh4)).

MDN's `share()` reference carries both halves of that shape. It says the
promise may be rejected with `NotAllowedError` when a file share is being blocked
due to security considerations, and with `TypeError` when files are specified but
the implementation does not support file sharing. Under its list of usually
shareable file types it gives `.txt` as `text/plain`, and it states that you should
always test with `navigator.canShare()` if sharing would succeed
([MDN, Navigator: share()](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share)).

<span id="why-it-matters-for-pwa-developers"></span>

## Install failures and their significance for testing

The install failure produced no console warning or error event; the install option was missing. With no event to put a breakpoint on, the developer had little feedback. Two of the four export bugs also left no clues. The author found them by running each code path with a fresh cache on a real phone, after the test suite had passed
([the report](https://dev.to/thekilteddev/never-installable-2fh4)).

The documented requirements explain why a green build said so little here. MDN
lists the manifest members Chromium-based browsers require, including a 192px and a
512px icon
([MDN, Making PWAs installable](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Guides/Making_PWAs_installable)),
and the `icons` reference states that for raster formats like PNG the exact available
sizes should be specified
([MDN, icons](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest/Reference/icons)).
The author reports that Chrome checks that the declared icons actually exist at the
sizes claimed, that nothing warns when they do not, and that its own rule is to
verify the install flow on the device that performs it
([the report](https://dev.to/thekilteddev/never-installable-2fh4)).

The transient-activation case generalises further, because it has nothing to do
with manifests. MDN says the activation state expires after a timeout if not
renewed, and that it gates whether an API can function at all. Any handler that
awaits storage, network, or worker round-trips before calling a gated API is
therefore racing that timeout, and the report's fix, moving the expensive work ahead
of the tap, is the shape that follows from the definition
([MDN, Transient activation](https://developer.mozilla.org/en-US/docs/Glossary/Transient_activation)).

## Related entries on this site

- [Capabilities](/reference/capabilities/): follow this cross-reference alongside the report's install-prompt failure and the manifest members MDN lists as required for a Chromium-based browser to promote a web app for installation.
- [Performance](/reference/performance/): the report's third export bug exceeded a latency budget: three IndexedDB round-trips outlasted the tap's transient activation, with no logic error involved; follow this cross-reference alongside that detail.
- [Storage](/reference/storage/): follow this cross-reference alongside the report's account of a warm service-worker cache hiding two bugs for months, and of IndexedDB reads sitting on the critical path of a user gesture.

## Open and unverified

- Which Chrome and Android versions the missing install option was observed on is
  not confirmed.
- Whether Chrome's installability check compares declared `sizes` against the
  decoded image dimensions, or only against the file being present and decodable,
  is not confirmed.
- Whether a bundler, a linter, or a manifest schema validator could detect a declared
  icon size that the file behind it does not satisfy is not confirmed.
- Whether any test harness can simulate the transient-activation timeout the report's
  third export bug hit is not confirmed.
- Whether a 68-byte one-pixel PNG would also fail the 192px and 512px requirement if
  the manifest declared it honestly as a one-pixel icon is not confirmed.
- Whether the three IndexedDB round-trips exceeded a specific transient-activation
  timeout, and what that timeout is on the device in question, is not confirmed.
- Whether Android Chrome's rejection of the spreadsheet MIME type is a fixed
  allowlist, a version-specific behaviour, or a device-level policy is not
  confirmed.
- Whether the two bugs the report says the warm Netlify cache had been hiding were
  the export bugs, the icon bug, or some combination is not confirmed.

## Sources

- [Never installable](https://dev.to/thekilteddev/never-installable-2fh4) (dev.to)
- [Making PWAs installable](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Guides/Making_PWAs_installable) (developer.mozilla.org)
- [icons](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest/Reference/icons) (developer.mozilla.org)
- [Transient activation](https://developer.mozilla.org/en-US/docs/Glossary/Transient_activation) (developer.mozilla.org)
- [Navigator: share()](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share) (developer.mozilla.org)