Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
434 views
in Technique[技术] by (71.8m points)

javascript - 如果浏览器关闭,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).

(仅在浏览器打开时,我才会收到推送通知(无论特定网页是否打开,都无关紧要)。)

I tested this on chrome for Desktop & chrome for Android (after updating to latest version).

(我在适用于台式机的chrome和适用于Android的chrome上对此进行了测试(更新至最新版本后)。)

my question is :- For push notifications to work should the browser be open?

(我的问题是:-要使推送通知正常工作,浏览器应该打开吗?)

Note:- I used this for testing.

(注意:-我用进行测试。)

  ask by Rajat Sharma translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

Please log in or register to answer this question.

Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...