-
Notifications
You must be signed in to change notification settings - Fork 14
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
Reown appkit flutter #23
Comments
I am experiencing the same issue. When the Flutter app goes into the background (onPause), and we send a request to connect to MetaMask, it seems that the WebSocket connection (relay) disconnects automatically after a few seconds. This prevents the request from completing successfully. For instance, when trying to connect our dapp to MetaMask, we initiate the connection request, and MetaMask opens as expected. However, since the user needs to wait for the "Approve" button to appear, the WebSocket may disconnect during this wait time. Once the user hits "Approve" and returns to the Flutter dApp, the app does nothing and shows a "Try Again" button. This issue occurs about 90% of the time.
|
Thanks both for the reports, I'll be taking a look at them. I understand @AliAzizi report but not so much your's @Sleechigo... If you could both share a demo video I'd highly appreciate as we had never been reported of such issues. |
As per the WebSocket disconnection I'm lost there as disconnection shouldn't happen that quick and, in fact, I can't reproduce it even with the link conditioner set to High Latency so I might need some more help discovering the issue. |
Hello @Sleechigo @AliAzizi! If you could provide clear steps to reproduce this it would help me a lot! |
Hi, I noticed that automatic reconnection after closing app or refreshing the state is not that effective. For trust wallet connection, it takes a little time to reconnect when you come back to the app, but for metamask and exodus wallet, it hardly reconnects. I've tested this in 4 different andriod devices and 2 ios. Also, metamask hardly connects using the wallet icon interface, but for qrcode, it connects perfectly.
Please if you'd update the persistent session or automatic reconection, it would be highly appreciated. Also if you can add support for formatting bigint and ethers conversion of units, that would go a long way. Outside these, Reown works perfectly fine and better with the [1.1.0-beta02] release.
The text was updated successfully, but these errors were encountered: