Feature Request: Service Worker for true PWA install support #6763
Unanswered
TyanColte
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Homepage already has a
pwa:config block insettings.yamlthat generates a manifest, but there is no service worker registered. Without a service worker, Chrome on Android cannot mint a WebAPK, so "Add to Home Screen" only creates a basic browser shortcut with no app drawer entry and no standalone app wrapper.Expected behavior
With a registered service worker (even a minimal pass-through one), Chrome treats the site as a true installable PWA. The user gets a proper install prompt, the app appears in the Android app drawer, and it opens in standalone mode with no browser chrome. The same experience as any other installed app.
Current behavior
The
pwa:block in settings.yaml generates a manifest, but homepage serves nosw.jsand registers no service worker. Chrome recognizes the manifest but will not offer a proper PWA install. "Add to Home Screen" falls back to a basic shortcut.Proposed solution
Add a minimal service worker. It does not need offline caching or anything complex. A simple install/activate/fetch pass-through is enough to satisfy Chrome's installability criteria and unlock true WebAPK minting.
Something like:
Paired with registration in the app:
This is a small change that would make the existing
pwa:config actually deliver on what it implies: a proper installable app experience.Beta Was this translation helpful? Give feedback.
All reactions