I am very interested in adding native notification to my web app. For the moment I use in app notification, kinda looks olddie for me...
Do you know which strategy I could use server side? How a client can be aware of new notifications?
You need to implement web push notifications if you want to send notifications from the server-side. It is a bit complex usage of Notification API.
Last year, I did something like this. Here are the links to source code:
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.