August 6, 2026 — Chrome / PWA install icon (v1.1.2)
Path: · Site v1.1.2 · SW cache v98
Problem
- Safari home-screen icon showed the Peter’s HVAC oval logo correctly via
apple-touch-icon.png.
- Chrome installed PWA / home screen showed a generic globe or first-letter tile.
- Chrome uses the web app manifest icons for install; Safari does not rely on that path the same way.
Root causes
site.webmanifest was live as Content-Type: application/octet-stream (invalid for Chrome install).
- App manifest used root icons only, with one 512 as combined
purpose: "any maskable".
- Icons were outside PWA
scope (/app/); better to co-locate under the app.
Fixes
netlify.toml — headers for *.webmanifest and app manifest.json → application/manifest+json.
- Regenerated root
android-chrome-192/512 from apple-touch framing; added android-chrome-512x512-maskable.png.
- New in-scope assets:
app/icons/icon-192.png, icon-512.png, icon-512-maskable.png, apple-touch-icon.png.
manifest.json + site.webmanifest — separate any and maskable icon entries; stable id.
- App HTML (home, settings, RefCalc, electrical, aircalc) — correct manifest + icon links.
- SW
phvac-app-v98 precaches new icon paths.
Verify after deploy
- Uninstall existing HVAC Lens / site PWA in Chrome, then reinstall (icon is cached at install time).
- DevTools → Application → Manifest: 192 + 512 icons load with no errors.
- Response headers: manifests as
application/manifest+json.