Skip to content

Doesn't Disconnect Expired Session #171

@skibitsky

Description

@skibitsky

Describe the bug
WalletConnect.DisconnectAsync() doesn't work with expired sessions.

To Reproduce
Steps to reproduce the behavior:

  1. Connect wallet. Session lifetime is 7 days
  2. Connect close to the expiration time and keep game runing
  3. After session expires, call IWalletConnect.DisconnectAsync()
  4. See IWalletConnectException: session expired error

Expected behavior
IWalletConnect.SessionDisconnected invoked

Screenshots
Buttons in the sample app remain inactive:
Screenshot 2024-03-04@2x

Environment

  • Unity version: 2021.3.34
  • Package name and version: 1.0.6

Is this happening in Unity Editor or on a player like Android, iOS, Windows?
Unity Editor

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions