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

Add Beacon timeout callback for cases when the wallet doesn't respond #111

Open
k-karuna opened this issue Jul 10, 2023 · 2 comments
Open

Comments

@k-karuna
Copy link
Member

No description provided.

@fraidev
Copy link
Collaborator

fraidev commented Jul 12, 2023

Hey @k-karuna, can you give more details about it?

@k-karuna
Copy link
Member Author

Hey @fraidev!
The problem is as follows: sometimes when you are trying to auth via Connect by deeplink button on mobile devices, you are not receiving connection request on your wallet app. It's rare and hard-to-reproduce case, the issue can be with beacon transport (Matrix). So, we are decided to implement something like timeout callback that can suggest for user to re-send latest request, e.g. you are clicking Connect by deeplink on mobile OS, redirecting to wallet app, it doesn't properly handle connection request and doesn't respont to SDK dapp, our dapp that using SDK will render something like waiting loader in the meantime, for a while (i think 45 seconds i enough), after which will be suggested to re-send connection request or cancel.

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