OpenPWA Demo

Install

Reads the install state of this demo: whether the page runs standalone, whether the browser has offered an install prompt, and what getInstalledRelatedApps reports. The run button triggers the captured prompt when one exists.

Preconditions

The code being run

Rendered from the function's own source with toString(); the button calls exactly this.

Run

Reference