如果浏览器关闭,Chrome浏览器推送通知不起作用? [英] Google Chrome Push Notifications not working if the browser is closed?

查看:841
本文介绍了如果浏览器关闭,Chrome浏览器推送通知不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是写在这里的推送通知将工作,即使浏览器已关闭,但我测试了它,情况并非如此。我只有在浏览器打开的情况下才会收到推送通知(如果特定网页是否打开,则无关紧要)。



我在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆