How to set "Add to home screen" button


#1

I am making PWA.

I would like to set the “Add to home screen” button on the top screen of the WEP application.

Is there any way?


#2

On Chrome add a listener for the beforeinstallprompt event

See https://developers.google.com/web/fundamentals/app-install-banners/#trigger


#3

Thank you so much!!
It works!