WalletConnect / walletconnect-monorepo

WalletConnect Monorepo
Apache License 2.0
1.24k stars 613 forks source link

Problem on mobile device #4482

Open MininDMhvh opened 2 weeks ago

MininDMhvh commented 2 weeks ago

On ios, when I try to connect trust wallet, I am constantly taken to the wallet download page, although it is downloaded. When I open my website via telegram webapp, there is also a problem with trust wallet, and all other wallets somehow open every other time. It doesn't work on android at all when I open the site via telegram webapp, I think it's because android asks which wallet to open, but for some reason there is no such thing in telegram web app, although it is essentially the same browser. How I use :

const WC2_Provider = window["@walletconnect/ethereum-provider"].EthereumProvider;
Provider = await WC2_Provider.init({
        projectId: WalletConnect_ID,
        chains: ['1'],
        optionalChains: all_chains_arr,
        metadata: WalletConnect_MetaData,
        showQrModal: true,
        rpcMap: all_chains_obj,
        methods: [
            'eth_sendTransaction',
            'eth_signTransaction',
            'eth_sign', 'personal_sign',
            'eth_signTypedData',
            'eth_signTypedData_v4'
        ]
    });
await Provider.connect();
linear[bot] commented 2 weeks ago

CR-22 Problem on mobile device