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
203 stars 81 forks source link

Storing persistent ids #40

Open markibanez opened 4 years ago

markibanez commented 4 years ago

How long do I need to store persistent ids? Obviously we can't store them indefinitely.

eschava commented 4 years ago

In my library (node-red-contrib-fcm-receive-node) I store them until the next call of the listen method (remove right after calling it)