如果浏览器关闭,Chrome浏览器推送通知不起作用? [英] Google Chrome Push Notifications not working if the browser is closed?
问题描述
这是写在这里的推送通知将工作,即使浏览器已关闭,但我测试了它,情况并非如此。我只有在浏览器打开的情况下才会收到推送通知(如果特定网页是否打开,则无关紧要)。
我在Desktop上为Chrome进行了测试。 chrome for Android(更新到最新版本之后)。
我的问题是: - 如果浏览器打开,推送通知才能正常工作?
注意: - 我使用此进行测试。
根据我可以使用,Chrome和Firefox桌面浏览器要求浏览器运行以接收推送通知;移动浏览器通常不会。
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).
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?
Note:- I used this for testing.
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.
这篇关于如果浏览器关闭,Chrome浏览器推送通知不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!