Skip to content

Fix PWA install prompt missing in Chromium browsers#676

Merged
rzueger merged 1 commit intodevelopfrom
fix/pwa-manifest-icon-paths
Apr 1, 2026
Merged

Fix PWA install prompt missing in Chromium browsers#676
rzueger merged 1 commit intodevelopfrom
fix/pwa-manifest-icon-paths

Conversation

@rzueger
Copy link
Copy Markdown
Member

@rzueger rzueger commented Apr 1, 2026

Summary

  • Manifest icon src paths pointed to root (/android-chrome-192x192.png) instead of /favicons/android-chrome-192x192.png. Root-level requests hit the Firebase SPA rewrite and returned HTML, so Chromium saw invalid icons and suppressed the install prompt.
  • Removed static manifest.json files from theme/lszt/ and theme/lszk/ whose broken icon paths were inherited verbatim by generateManifest(). The auto-discovery code path already produces correct /favicons/-prefixed paths.
  • Removed unused site.webmanifest files from all other theme directories (already excluded from build by copyFavicons()).

Test plan

  • Build for lszt (npm run build --project=lszt), verify build/favicons/manifest.json icon paths start with /favicons/
  • Build for another project (e.g. lspv), verify same
  • Deploy to staging, open in Brave/Chrome, confirm install icon appears in URL bar
  • Verify DevTools > Application > Manifest shows no icon errors

The manifest icon paths pointed to root (e.g. /android-chrome-192x192.png)
instead of /favicons/android-chrome-192x192.png. Root-level requests hit
the Firebase SPA rewrite and returned HTML, so Chromium saw invalid icons
and suppressed the install prompt.

Remove static manifest.json files whose icon paths were inherited
verbatim by generateManifest(). The auto-discovery path already
produces correct /favicons/ prefixed paths for all themes.

Also remove unused site.webmanifest files from theme directories.
@rzueger rzueger merged commit ed32f13 into develop Apr 1, 2026
2 checks passed
@rzueger rzueger deleted the fix/pwa-manifest-icon-paths branch April 1, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant