简体   繁体   中英

PWA fires beforeinstallprompt first time, but after deleting app from desktop, never fires again

Nothing has changed with the setup and it worked like a charm the first launch.

But now that i've already install to desktop, and then deleted it, it never fires the beforeinstallprompt again.

Lighthouse audit even says everything is configured correctly to prompt user to install. I did Application -> Clear Site Data with all options checked, clear cache and reload, and still nothing.

It's like Chrome is tracking that the desktop install has already happened in its own registry, and there is no way to tell it to reset that.

Anybody have any ideas?

Thanks! Klaus

Have you removed the app?
Many people do not know to go here to see it. Put this in the address bar:
chrome://apps/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM