I have plan to integrate Push Notifications for Chrome (Push API and Notification API).
After successful subscription Chrome server send to client some special token ("endpoint") which you can use to identify the client and to send any push messages.
From the doc:
The endpoint should be saved on your server for each user, since you’ll need them to send push messages at a later date.
I have few questions:
user
object on the server. If a user registers for push notifications before logging-in, then you have no way to tell that that endpoint is related to that user. When the user logs in you can send the updated info to the server.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With