pusher / push-notifications-web

Beams Browser notifications
MIT License
39 stars 19 forks source link

deep_link: focus existing window #94

Closed fromi closed 1 year ago

fromi commented 3 years ago

It is a common notification pattern to focus an existing window instead of opening a new window all the time when clicking on a notification: https://developers.google.com/web/fundamentals/push-notifications/common-notification-patterns#focus_an_existing_window

It would be nice to have such feature directly available. Right now, I have to forget about using deep_link to use some "data.link" property instead, and have a custom "notificationClick" listener to handle it.

neelrocketbots commented 3 years ago

Any news on this? This is an extremely important feature.

daniel-shuy commented 1 year ago

I have implemented this in #112