Open WingCH opened 1 year ago
Can you try to add a delay or separate button to kill the session?
i tried separate button to kill the session, but still not work.
TextButton(
onPressed: () async {
await connector.killSession();
},
child: const Text('Disconnect wallet'),
),
also i tried another wallet exodus
, issue can be reproduce
@RootSoft thanks for your reply, do you have the same issue? Maybe there is something wrong with the way I am using it
@RootSoft I fix this bug and create PR https://github.com/RootSoft/walletconnect-dart-sdk/pull/85 , please take a look, thanks🙏🏻
@WingCH Thanks for this, and good catch! I'll do some additional testing as well this week and merge the changes asap
Looking forward to your update!
Please update
Waiting for update!
Sorry for the delays everyone, been quite a few busy weeks lately. I'll update the package first thing next week.
Please update
versions: walletconnect_dart: ^0.0.11
I just want to get the wallet address, so I use
killSession
aftercreateSession
returns the result, but I still see a connection in the wallet app.i have tried this MR https://github.com/RootSoft/walletconnect-dart-sdk/pull/75 , but not work.
Reproduce step
Get Addresses
buttontrust wallet
(you can choose other wallet, i believe have same behavior)wallet app
will show authorize popup, clickconnect
wallet app
will back to sample app automatically and return some information including waller addresskillSession
will be executedwallet app
manuallyWalletConnect
page, check connecting listExpected result: not find sample app, since already
killSession
Actual result: sample app in connecting list
Video
https://user-images.githubusercontent.com/19588517/200003359-750c0ba4-be1f-455b-86ec-3789330b6910.mp4
Sample code
flutter doctor