Can I prevent service worker that it will not automatically stop?

826 views
Skip to first unread message

Melvin Jabonillo

unread,
Mar 8, 2017, 10:11:33 PM3/8/17
to service-worker-discuss
I was having this problem because I cannot receive any notifications because the service worker status automatically stops. Please answer my question

Hiroki Nakagawa

unread,
Mar 8, 2017, 11:09:18 PM3/8/17
to Melvin Jabonillo, service-worker-discuss
There is no way to prevent ServiceWorker from stopping. Instead, ServiceWorker automatically starts again when necessary, for example, when a push message arrives.

What kind of device did you use (PC or Android)? Are you able to receive a push message if a service worker is running?

2017-03-09 12:11 GMT+09:00 Melvin Jabonillo <melvin.j...@bibo.com.ph>:
I was having this problem because I cannot receive any notifications because the service worker status automatically stops. Please answer my question

--
You received this message because you are subscribed to the Google Groups "service-worker-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to service-worker-discuss+unsub...@chromium.org.
To post to this group, send email to service-worker-discuss@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/service-worker-discuss/0b7a5ee7-ff70-4b5a-a1ca-165e40e358b7%40chromium.org.

Reply all
Reply to author
Forward
0 new messages