I use FCM for push notifications. In a service worker js file, I have two handlers:
self.addEventListener(\'notificationclose\', (event) => { console.log