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

After switching accounts I still receive push notifications for previously connected accounts #510

Open
chris13524 opened this issue Mar 25, 2024 · 1 comment

Comments

@chris13524
Copy link
Member

chris13524 commented Mar 25, 2024

If I connect with account A, subscribe to some apps, and then switch to account B, I will still receive push notifications for account A, even though when I open the app I don't see those subscriptions anywhere.

Ideally Web3Modal would support multiple connected accounts and wallets and switching between accounts would be possible. However this feature won't be coming in the short-term.

A short-term solution would be desirable such as:

  • When disconnecting or switching accounts, calling unregister() which stops push notifications (by unsubscribing from the relay topics)
  • Temporary way to switch and manage multiple accounts decoupled from Web3Modal
@chris13524 chris13524 changed the title After switching accounts I still receive notifications for previously connected accounts After switching accounts I still receive push notifications for previously connected accounts Mar 25, 2024
@linear linear bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 25, 2024
@chris13524 chris13524 reopened this Sep 25, 2024
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