Add To Home Screen (A2HS)
We created and set the web manifest correctly. Now, let's see how the browser reacts and how to install our PWA on a device.
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 ...
Access this course and 1400+ top-rated courses and projects.