rokwire / notifications-building-block

The Notifications Building Block manages user notifications for the Rokwire platform.
Apache License 2.0
1 stars 1 forks source link

[FEATURE] Cleanup outdated tokens #143

Open mdryankov opened 1 year ago

mdryankov commented 1 year ago

Is your feature request related to a problem? Please describe. There are situations when the user record contains old outdated firebase tokens. This produce pressure on notification BB, because e message is attempt to be send to all tokens.

Acoording to the documentation the Firebase team advices such tokens to be removed. https://firebase.google.com/docs/cloud-messaging/manage-tokens

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

shurwit commented 1 year ago

This is a duplicate of #116