如果浏览器关闭,Google Chrome 推送通知不起作用? [英] Google Chrome Push Notifications not working if the browser is closed?
问题描述
此处写道,即使浏览器已关闭,但我对其进行了测试,但事实并非如此.我仅在浏览器打开时收到推送通知(特定网页是否打开无关紧要).
It is written here that the push notifications will work even if the browser is closed, but I tested it and it is not the case. I receive push-notifications only if the browser is open (doesnt matter if the particular webpage is open or not).
我在 chrome for Desktop & 上对此进行了测试chrome for Android(更新到最新版本后).
I tested this on chrome for Desktop & chrome for Android (after updating to latest version).
我的问题是:- 要让推送通知工作,浏览器应该打开吗?
my question is :- For push notifications to work should the browser be open?
注意:- 我使用 this 进行测试.
Note:- I used this for testing.
推荐答案
根据可以使用吗、Chrome 和 Firefox 桌面浏览器需要运行浏览器才能接收推送通知;移动浏览器通常不会.
According to Can I Use, Chrome and Firefox desktop browsers require the browser to be running for receiving push notifications; mobile browsers typically don't.
这篇关于如果浏览器关闭,Google Chrome 推送通知不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!