Skip to content

Bug: App sometimes shows “connected” even after the wallet is disconnected #1847

@love-twirler

Description

@love-twirler

Describe the bug

In some cases, after a wallet disconnect happens, the app still thinks the wallet is connected. This makes the UI feel out of sync with what’s actually going on.

Steps

  1. Connect using the Coinbase Wallet SDK.
  2. Trigger a disconnect (for example by ending the session or interrupting the flow).
  3. Return to the app and check the connection UI.
  4. Notice it can still show “connected” even though the wallet is disconnected.

Expected behavior

When the wallet disconnects, the SDK should update state right away so the app can show the correct “disconnected” UI.

Version

Package: @coinbase/wallet-sdk - Affected version: 4.x - Tested version: 4.1.x (latest at time of testing)

Desktop

  • OS: macOS 14.x
  • Browser: Chrome
  • Browser Version: 120+

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions