Answer the question
In order to leave comments, you need to log in
Why do notifications stop showing in Chrome mobile browser after a certain time?
Worker source:
self.addEventListener('push', event => {
event.waitUntil(self.registration.showNotification('test', {
icon: './icon.png',
body: 'test'
}))
});
webpush(subscription_info=subscription_info, vapid_private_key='./private_key.pem',
vapid_claims={'sub': 'sub'},
data=data)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question