tezos-unity-sdk icon indicating copy to clipboard operation
tezos-unity-sdk copied to clipboard

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

Open k-karuna opened this issue 2 years ago • 2 comments

k-karuna avatar Jul 10 '23 15:07 k-karuna

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

fraidev avatar Jul 12 '23 17:07 fraidev

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.

k-karuna avatar Jul 13 '23 10:07 k-karuna