MatthieuLemoine / push-receiver

A library to subscribe to GCM/FCM and receive notifications within a node process.
https://medium.com/@MatthieuLemoine/my-journey-to-bring-web-push-support-to-node-and-electron-ce70eea1c0b0
MIT License
202 stars 79 forks source link

Add disconnect event to the client #24

Closed julianhille closed 5 years ago

julianhille commented 5 years ago

This event might come in handy for some when someone wants to use a push message and use a polling system as fallback if disconnected or push message is, why ever, not working.