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

Reconnecting a session #4437

Open
skzap opened this issue Apr 11, 2024 · 1 comment
Open

Reconnecting a session #4437

skzap opened this issue Apr 11, 2024 · 1 comment

Comments

@skzap
Copy link

skzap commented Apr 11, 2024

Hello

I am working on a mobile wallet app, and I am wondering how to re-open past sessions after the app has been restarted, and get the new session_request events from the session opened previously.

Please help, I could not find relevant information in the docs at https://docs.walletconnect.com/web3wallet/wallet-usage

Suggestion: give us a function to reconnect a session based on the topic id

@ganchoradkov
Copy link
Member

Hey @skzap sorry for the late response.
Sessions are re-connected automatically. The client persists all session data and when your app is launched again, it should connect all sessions in its storage without you having to do doing anything extra

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

2 participants