Category : service-worker

Using a service worker, the screen transition is performed by the click event of the push notification with the following code. Screen transition is possible in Chrome on Mac, but screen transition is not possible in Chrome on Windows 10. Is there any solution? importScripts(‘./ngsw-worker.js’); self.addEventListener(‘notificationclick’, (event) => { event.waitUntil( self.clients.matchAll().then(function(clientList) { focusWindow(event); if (clientList.length ..

Read more