How do I handle the push notification click in angular service worker. The SWPush does not have any methods.
I have tried referencing a js which listens to the \"no
I had to update my package.json to:
"@angular/service-worker": "7.1.0"
then this worked for me:
this.swPush.notificationClicks.subscribe((result) => { console.log('clicked', result); });