-
Notifications
You must be signed in to change notification settings - Fork 35
Wallet cannot receive dapp's request #136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello @lvshaoping007, sorry for the delay on this! Are you running flutter walletkit on the web? Can you clarify a bit? I'm confused |
Hi, no, I use But when opening the web in the mobile browser and linking the mobile app through deeplink, all requests cannot be used normally, and the mobile app wallect connect event listener cannot receive the reported signMessage and other requests |
So you have a native mobile Wallet written with flutter using |
Yes, you are right.
this is my flutter wallet code, use |
You mean the |
Yes, but when I open the same webpage on PC and scan the code to use, the onSessionRequest of flutter wallet will be called. Only on the mobile browser, onSessionRequest is not called |
I'm still really confused. When you say "Only on the mobile browser, onSessionRequest is not called" it makes me think you are running reown_walletkit on web wallet, not native mobile wallet, correct? I'd like precise steps to reproduce this issue please. |
Hi, here are the specific steps again,
But the onSessionRequest (flutter wallet event listener) of the flutter wallet did not receive the parameters of this request The recorded video does not show any abnormality, because there is only the error in the above web screenshot, and there is no obvious error prompt or display abnormality |
Can you try implementing this section in your wallet? https://docs.reown.com/walletkit/flutter/usage#namespace-builder |
Sure, I am now using the document integration |
I mean implementing this section of the docs I don't see any of this in your code and that might be the reason why you don't get the request. |
Can I clone your repo and run it to try reproduce it? |
I have checked deeply our SDK and there's no bug actually. I order to get the session request (method request) through reown_flutter/packages/reown_walletkit/example/lib/dependencies/walletkit_service.dart Line 104 in 7908df6
|
in fact, I tried to activate |
Sure, this is a dapp for testing requests, |
You means add
|
Which flutter wallet? Our flutter wallet?
You do this by scanning the QR code in your dapp with the wallet?
Are you 100% that the request is not being opened in the wallet? Did you actually opened the wallet after triggering the request to confirm this? |
I would like to run your wallet and test it myself, you can write me on Telegram |
No, it is the wallet we developed The log of flutter wallet is seen through the log of flutter in the terminal. but the mobile browser only has the log of successful connection, and no log of signMesssage, etc. is output. Yes, I am sure, because when the signMessage event is triggered by clicking on the dapp, I opened the flutter wallet through deeplink after the |
Thanks a lot, I have sent a DM request |
SDK Affected
reown_walletkit: 1.1.3
Both, i use reown_walletkit 1.1.3 and @walletconnect/sign-client 2.19.1
Describe the bug
The dapp can report the request message, but the wallet cannot receive the message.
To Reproduce
Expected behavior
Reproducible code
Smartphone (please complete the following information):
Additional context
The connection request is work well , but nothing else works.
The same code fails most of the time, but sometimes it can receive a message, that is, the log of wallect connect in the wallet will print out the request content.
Trying to switch the project id doesn't work either.
The text was updated successfully, but these errors were encountered: