Pwa beforeInstallPrompt not firing in mobile browser but working in normal desktop browser

后端 未结 0 754
旧巷少年郎
旧巷少年郎 2021-02-14 12:44

I am using workbox with create react app. here is the code

window.addEventListener("beforeinstallprompt", event => {
    window.deferredPrompt = even         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题