lundi 3 décembre 2018

Add to home screen just once

I've implement Add to home screen (A2HS) prompt according to this article https://developers.google.com/web/fundamentals/app-install-banners/.

The prompt is working fine but it has one disadvantage. When a user tries to open my site in another browser (default one) instead of Google Chrome then this A2HS prompt appears again and the user gets the second installation of the App.

Can I somehow restrict the second installation of the App? Maybe I should specify some property in manifest.json?




Aucun commentaire:

Enregistrer un commentaire