WalletConnectUnity
WalletConnectUnity copied to clipboard
Doesn't Disconnect Expired Session
Describe the bug
WalletConnect.DisconnectAsync() doesn't work with expired sessions.
To Reproduce Steps to reproduce the behavior:
- Connect wallet. Session lifetime is 7 days
- Connect close to the expiration time and keep game runing
- After session expires, call
IWalletConnect.DisconnectAsync() - See
IWalletConnectException: session expirederror
Expected behavior
IWalletConnect.SessionDisconnected invoked
Screenshots
Buttons in the sample app remain inactive:
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