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

Listeners don't work on Web #88

Open
vcoolish opened this issue Nov 18, 2022 · 3 comments
Open

Listeners don't work on Web #88

vcoolish opened this issue Nov 18, 2022 · 3 comments

Comments

@vcoolish
Copy link

Session events are not coming if I use mobile linking in Web App.
Web doesn't support websocket in background. Is there any workaround?

@RootSoft
Copy link
Owner

I don't see to have any problems on my web dapp example: https://sooq.art.
Can you elaborate a bit more? Is this only on ios? (there's a lot of background restrictions issues over there)

@vcoolish
Copy link
Author

Yes, this happens on iOS only, mostly issue in Safari. Chrome works time to time.
So when you open wallet and confirm signature it send response back, and if it happens when browser in background, when you return to browser the response from wallet never comes. Works on android app and web

@w4-jake
Copy link

w4-jake commented Dec 9, 2022

We also have been seeing a similar issue on web in iOS Safari, with iOS Chrome working sometimes!

In the case of iOS Safari, following instructions such as these have worked to keep the WebSocket connection open. But of course this is only a workaround for now.

It seems the issue starts with iOS 15 and up. A different device I have tried on with iOS 12 works fine without changing any default settings.

Here is some more relevant information:
reown-com/appkit#334

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants