Add To Homescreen

Add To Homescreen

  

Hi Guys,

I have finished writing a progressive web app and want to add a JavaScript function that automatically prompts the user to add the link to their homescreen.

I know there is a step by step guide on google but it doesn't seem to work after many attempts. Could it be a security issue? 

Kind Regards 

Werner Kotze

Hi Werner,

That's difficult to tell if you don't tell us what guide you used, and what you've already done :).

Kilian Hekhuis wrote:

Hi Werner,

That's difficult to tell if you don't tell us what guide you used, and what you've already done :).

Hi Killian

The guide I'm using is:

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

But to no avail...



Werner Kotze wrote:

Kilian Hekhuis wrote:

Hi Werner,

That's difficult to tell if you don't tell us what guide you used, and what you've already done :).

Hi Killian

The guide I'm using is:

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

But to no avail...



I have added a manifest, which seems to be working. It seems like the service worker is not working.