Skip to content

Push service tokens cleanup #399

Description

@compojoom

An FCM token is unique for a device. We connect the FCM token to an address and then send notifications to that fcm token.
In some situations it is possible to register the same FCM token to a different address. This would mean that a user could get push notifications for an account he is currently logged out from.

An easy fix on the relay server would be to cleanup the old addresses with the same FCM token, whenever someone tries to register a new address with the same FCM token.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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