Skip to content

Bug: SDK does not consistently emit disconnect events on network or app interruption #1836

@roadmap-cedilla

Description

@roadmap-cedilla

Describe the bug

In some scenarios, the Coinbase Wallet SDK does not reliably emit a disconnect event when the wallet connection is interrupted due to network changes, browser tab suspension, or the wallet app being backgrounded. As a result, applications may continue to assume an active wallet connection when it is no longer valid.

Steps

  1. Integrate Coinbase Wallet SDK into a web application.
  2. Establish a successful wallet connection.
  3. Simulate an interruption by switching networks, suspending the browser tab, or backgrounding the wallet app.
  4. Observe that a disconnect event is not always emitted.

Expected behavior

The SDK should consistently emit a disconnect event whenever the wallet connection becomes invalid or is interrupted. Applications should be able to rely on this event to update UI state and clean up any dependent logic.

Version

Latest version at the time of writing

Additional info

No response

Desktop

No response

Smartphone

No response

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