Skip to content

Delete old unused FCM Push Tokens #64

Description

@luke-

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions