See exactly how a web app gets added to your phone or desktop.
When your browser decides the app is installable, it fires a
beforeinstallprompt event. We catch it and light up this button.
Browsers require all of these before they'll offer to install a PWA.
beforeinstallpromptThe whole flow, start to finish.
The browser loads the HTML, finds the <link rel="manifest">, and reads the app's name, colors, and icons.
It caches the app shell so the app can launch even with no network.
Secure context, valid manifest, required icon sizes, active service worker — the checklist above.
The browser fires beforeinstallprompt. The page saves it and shows a custom Install button.
The page calls prompt() on the saved event. The browser shows its native install dialog.
The manifest icon (a PNG built from the favicon) is added to the home screen or app drawer. Launching it opens in a standalone window — no browser chrome.