WalletConnectUnity icon indicating copy to clipboard operation
WalletConnectUnity copied to clipboard

Doesn't Disconnect Expired Session

Open skibitsky opened this issue 1 year ago • 0 comments

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

skibitsky avatar Mar 04 '24 10:03 skibitsky