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

Notification Handling for Multiple Devices with the Same User #822

Open
Kumar-Evoke-Github opened this issue Oct 1, 2024 · 0 comments
Open

Comments

@Kumar-Evoke-Github
Copy link

Hello,

I would like assistance with the following scenario:

How to reproduce:

  1. Create two users: A and B.
  2. Login with user A's credentials on one Android device.
  3. Login with user B's credentials on two different Android devices.
  4. 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?

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

1 participant