From FCM docs you can see some best practice examples of how to remove store tokens, so they recommend us to delete staled tokens, so how can we do that with Nova?
https://firebase.google.com/docs/cloud-messaging/manage-tokens
1 messages · Page 1 of 1 (latest)
From FCM docs you can see some best practice examples of how to remove store tokens, so they recommend us to delete staled tokens, so how can we do that with Nova?
https://firebase.google.com/docs/cloud-messaging/manage-tokens
@glad solar you should be able to update it in the same way you added it to Novu 🙂
Hi @safe haven, thanks for reply 🙂
does Novu return error if token already been staled?
you mean when you trigger event?
No we just return that we have recived your trigger
I guess I need to store tokens in my database and in Novu, and run cron job to delete outdated tokens
:/
I think it would be nice to have expiration time for tokens 😄
@glad solar we are working on webhooks callbacks from providers to make it easy to debug not sent notifications 🙂
maybe that could help your usecase in the future?
Cool, but I think it would be nice to have expiration time for each FCM token, so Novu server would not be full of staled tokens and clients can store tokens into Novu without caring about their conflicts.
Want to report a bug or request a feature?
Let's open an issue. Just click here 👇
https://github.com/novuhq/novu/issues/new/choose
done, 🙂
Thanks 🙂
I would try to find some free time to contribute. Your product is amazing ⭐