【发布时间】:2017-10-26 08:24:14
【问题描述】:
我在运行 Progressive Web Apps 时遇到了麻烦。
首先,我在网络上按下“添加到主屏幕”,将应用程序添加到主屏幕,并授予推送通知权限。
之后,我从主屏幕卸载了 Progressive Web Apps,我以为通知不会到达,但实际上它得到了通知。
我可以检测卸载并拒绝推送通知吗?
我尝试搜索包括following site。 例如,但没有任何期望的事件或状态。
虽然是卸载后主屏幕的附件, 通知栏中会显示一个 Google Chrome 图标。 home screen image
【问题讨论】:
标签: push-notification permissions service-worker progressive-web-apps