using react-moralis;
on mobile its not showing anything
authenticate({
provider: âwalletconnectâ,
chainId: 1,
signingMessage: âConnecting Mobile Walletâ,
});
So it shows up on desktop?
Yes, it does shows on desktop the QR code, but on mobile I found a hack
document.addEventListener(âvisibilitychangeâ, () => {
if (document.visibilityState === âhiddenâ) {
window.localStorage.removeItem(âWALLETCONNECT_DEEPLINK_CHOICEâ);
}
});
but It does not work sometimes