Skip to content

Notification Handling for Multiple Devices with the Same User - important #829

@Kumar-Evoke-Github

Description

@Kumar-Evoke-Github

Hello,

I would like assistance with the following scenario:

How to reproduce:

Create two users: A and B.
Log in with user A's credentials on one Android device.
Log in with user B's credentials on two different Android devices.
Start sending notifications from user A to user B.
Both of user B's devices are receiving notifications, but I want only the latest logged-in device to receive notifications. The goal is to have only the most recent device logged in to receive notifications, while older devices do not.
Question: If a user logs in on multiple devices, for example, logging in first on a Samsung Android phone and then on a Google Pixel phone, notifications are currently being sent to both devices. However, I want only the most recently logged-in device to receive notifications.

Is there a way to either delete the old session data without user interaction or implement another solution to ensure only the latest logged-in device receives the notification?

Metadata

Metadata

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