Automatically renew the push notifications subscription

Continuing the discussion from Android push notifications stop working:

Looks like Chrome will finally implement the pushsubscriptionchange event which is already supported by all other browsers who implement the modern web specs.

We have plenty of cases where the notifications cease to work all of sudden, and this may be one of the reasons why.

Implementing this means handling the event at the service works, plus handling the subscription renewal with minimal (0 if possible) effort from the user. It may be needed to save a few bits of information during subscriptions to make it possible, so you know which subscription you gotta replace.

14개의 좋아요

4개의 게시글이 새 주제 로그아웃 시 모든 푸시 구독을 삭제하지 마세요로 이동되었습니다.

5개의 좋아요

이제 병합되었습니다. 앞으로 약간의 시간이 지난 후 푸시 알림이 작동하지 않는다면 #contribute:bug에 보고해 주세요.

1개의 좋아요