Closed ReniDelonzek closed 2 years ago
I managed to solve this server-side with
webpush: {
fcmOptions: {
link: 'https://www.example.com/',
},
},
I'll leave that open for a possible client-side solution
try to use this
in sw file
As expected, notifications only appear when the user does not have the app tab open. However, when the user clicks on the notification, the browser is expected to switch from tab to app tab, but it doesn't