dewraj
Results
comments of
dewraj
I tried adding timeout but still notification click event did not trigger. Please can someone advice.
here is code using in service worker to add notificationclick event...works fine in Edge. self.addEventListener('notificationclick', function (event) { event.notification.close(); console.log('Notification notificationclick triggered'); event.waitUntil( clients.openWindow(event.notification.data) ); })