BaryoDev.Umbraco.Pwa
This Umbraco site is an app
Installable, works offline, and reports its own adoption to the backoffice rather than to
anyone else's dashboard. Two lines in the layout, no build step, no account.
What this browser is telling the server
- Display mode
- checking…
- Installed
- checking…
- Platform
- checking…
- Service worker
- checking…
- Device id
- checking…
Try it
- Android or desktop Chrome: an install banner appears at the bottom. Accept it and this panel flips to standalone.
- iPhone or iPad: the banner tells you to tap Share, then Add to Home Screen, because iOS offers no install API.
- Offline: load the page once, turn off the network, reload. The service worker serves it from cache.
- Then look in the backoffice: Settings, then the PWA dashboard, and your visit is counted.
The whole integration
<link rel="manifest" href="/manifest.webmanifest" />
<script src="/baryodev-pwa.js" defer></script>