Add To Home Screen (A2HS)
Understand how to enable Add To Home Screen prompts for Progressive Web Apps by setting up secure HTTPS serving, registering service workers, and correctly configuring the manifest file. Learn to test manifest properties using browser developer tools to ensure PWAs install and run like native apps on devices.
We'll cover the following...
We'll cover the following...
Add to home screen dialog
To display an add to home screen dialog (in short, A2HS), asking the user to install the application locally is not enough to correctly initialize the manifest properties. We must also serve the app through a secure connection (HTTPS). In particular, Chrome requires the app to have a service worker registered.
If all these requirements are fulfilled, the browser shows the A2HS dialog. In this case, ...