简体   繁体   English

PWA 在第一次安装提示前触发,但从桌面删除应用程序后,不再触发

[英]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.但是现在我已经安装到桌面,然后删除它,它再也不会触发 beforeinstallprompt。

Lighthouse audit even says everything is configured correctly to prompt user to install. Lighthouse 审计甚至说一切都配置正确以提示用户安装。 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.就像 Chrome 正在跟踪桌面安装已经发生在它自己的注册表中一样,并且没有办法告诉它重置它。

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/铬://应用程序/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 PWA 应用程序 beforeInstallPrompt 未在移动浏览器中触发但可在普通桌面浏览器中运行 - PWA app beforeInstallPrompt not firing in mobile browser but working in normal desktop browser beforeinstallprompt 不会在 PWA 的 Vue 应用程序中触发 - beforeinstallprompt not trigger within a PWA's Vue app PWA:preventDefault 不适用于 beforeinstallprompt - PWA: preventDefault not working with beforeinstallprompt PWA - beforeinstallprompt 未调用 - PWA - beforeinstallprompt not called PWA 应用 beforeInstallPrompt 不触发其他浏览器只会触发 Chrome 浏览器 - PWA app beforeInstallPrompt not firing other browseres only fire Chrome browser PWA:如何在安装提示之前重新触发? - PWA: How to retrigger beforeinstallprompt? 即使在安装应用程序之后,`beforeinstallprompt` 事件也会触发 - `beforeinstallprompt` event is firing even after the app is installed blazor wasm PWA 安装为桌面应用程序后未离线加载 - blazor wasm PWA not loading offline after installed as desktop app PWA beforeinstallprompt Uncaught (in promise) DOMException - PWA beforeinstallprompt Uncaught (in promise) DOMException PWA `beforeinstallprompt` 未在 Android Webview 上触发 - PWA `beforeinstallprompt` not being fired on Android Webview
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM