MatthieuLemoine / electron-push-receiver

A module to bring Web Push support to Electron allowing it to receive notifications from Firebase Cloud Messaging (FCM).
https://medium.com/@MatthieuLemoine/my-journey-to-bring-web-push-support-to-node-and-electron-ce70eea1c0b0
MIT License
191 stars 62 forks source link

Resetting the Push Receiver feature #65

Open fredikey opened 4 years ago

fredikey commented 4 years ago

This feature is necessary to allow for Electron apps that can be used to sign in and out using different accounts and allowing each user to maintain their own FCM config data.

I modified this PR where I changed the way of invoking resetting functionality to ipcRenderer and add client.destroy() to stop listening for GCM/FCM notifications when user signed out

JeroenBoesten commented 3 years ago

Would love to see this merged

WesUnwin commented 1 year ago

A useful feature! Definitely would be an important addition to this library. Is there any reason why this has not been merged?