📜  pwa 在 Firefox 中不起作用 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:36.308000             🧑  作者: Mango

代码示例1
FireFox does not support beforeinstall prompt. You have to do it manually.
On Android there is a little home icon in the address bar to indicate it can
be added to the homescreen. 

However they keep same code block from chrome to may be support in future check
below:
https://developer.mozilla.org/en-US/docs/Web/Apps/Progressive/Add_to_home_screen#How_do_you_make_an_app_A2HS-ready

https://developer.mozilla.org/en-US/docs/Web/API/BeforeInstallPromptEvent