-
Hi everyone, I'm currently working on integrating WalletConnect into my DApp using Vue + Ethers, and I'm encountering an issue specifically with Safari on mobile devices. Issue Description: Steps Taken So Far: await useAppKit().open();
const account = await useAppKitAccount();
const { address: addressConnect, isConnected } = account;
console.log('connected: ',isConnected)
address.value = addressConnect;
console.log(address.value);
localStorage.setItem('address', address.value);
walletType.value = 'walletconnect';
localStorage.setItem('walletType', 'walletconnect');
isConnect.value = true;
await useAppKit().close(); I’m storing the address and wallet type in localStorage, but when Safari reloads the page, it seems to reset the session and does not persist the connection. What I've Tried:
Help Needed:
Thanks in advance for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found the issues it just because of ios browser will not run localhost on background |
Beta Was this translation helpful? Give feedback.
I found the issues it just because of ios browser will not run localhost on background