Skip to content
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

Open
Sleechigo opened this issue Oct 18, 2024 · 4 comments
Open

Reown appkit flutter #23

Sleechigo opened this issue Oct 18, 2024 · 4 comments
Labels
awaiting customer Further information has been requested investigation Investigation needed

Comments

@Sleechigo
Copy link

Sleechigo commented Oct 18, 2024

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.

@AliAzizi
Copy link

AliAzizi commented Oct 18, 2024

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.

Closed by client with code 1006 .

@quetool
Copy link
Member

quetool commented Oct 23, 2024

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.

@quetool
Copy link
Member

quetool commented Oct 23, 2024

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.

@quetool quetool added investigation Investigation needed help wanted Extra attention is needed labels Oct 23, 2024
@quetool
Copy link
Member

quetool commented Oct 29, 2024

Hello @Sleechigo @AliAzizi! If you could provide clear steps to reproduce this it would help me a lot!

@quetool quetool added awaiting customer Further information has been requested and removed help wanted Extra attention is needed labels Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting customer Further information has been requested investigation Investigation needed
Projects
None yet
Development

No branches or pull requests

3 participants