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

Silent Wallet Connection?

Open DevLaTron opened this issue 1 year ago • 4 comments

I'm having the following issue:

I setup the Users Wallet in Scene 1, then transition to Scene 2. During this Phase, the user may not interact with the Application.

In Scene 2, Wallet information should be displayed if a wallet is connected.

Right now the only way to connect the dapp is by using Connect(), which will now force a URL opening, which will then cause trouble.

My expected Workflow would be:

  1. Initialize Tezos SDK
  2. Check Beacon Dapp and initialize to check if a wallet is connected
  3. Be able to check if wallet connection is availabe and set information, if not continue silently.
  4. In next Scene be able to give the user the option to connect a wallet or disconnect a wallet.

In the past a workaround was to surpress the redirect, this option isn't available anymore.

In my opinion, the process of initiating a Handshake should be left to be decided by the Developer, not the SDK.

I may be missing something in the transition to 3.0.0, of course.

DevLaTron avatar Jan 11 '24 09:01 DevLaTron