walletconnect-monorepo icon indicating copy to clipboard operation
walletconnect-monorepo copied to clipboard

Different Events in mobile and desktop

Open mostafa-rio opened this issue 1 year ago • 0 comments

Describe the bug If we try to write our logic based on this equality our logic will only work if this runs only on dekstop: web3ModalEvents.event === "CONNECT_SUCCESS"

and in mobile version SELECT_WALLET will be fired

To Reproduce Create a simple react app with walletconnect/ethers5 and add useWeb3ModalEvents and check the event on mobile and desktop

mostafa-rio avatar Feb 21 '24 13:02 mostafa-rio