Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete old unused FCM Push Tokens #64

Open
luke- opened this issue Jan 6, 2025 · 1 comment
Open

Delete old unused FCM Push Tokens #64

luke- opened this issue Jan 6, 2025 · 1 comment
Assignees

Comments

@luke-
Copy link
Contributor

luke- commented Jan 6, 2025

We should clean up the user's push tokens after some time.
One strategy could be, for example, to send a “lastSeen” of the current push token to the database table after each (automatic) login.
We can then delete push tokens that have not been seen for more than 1-2 months.

Likewise, we could then detect push tokens that have been stored on the browser but have been deleted on the server side, and also delete them in the browser.

@luke-
Copy link
Contributor Author

luke- commented Jan 6, 2025

@marc-farre Maybe a task for you? But it's maybe something after bs5 not urgent at all..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants