Im having issues specifically with connecting to a Trust Wallet via WalletConnect on a mobile device (iPhone) from our Moralis dapp. The issue I am seeing after you choose Trust Wallet from the WalletConnect popup, it launches Trust Wallet app and says “WalletConnect - connecting may take a few seconds” at the bottom but after a while it quits and says “WalletConnect - failed to connect”. I have tried all the usual workarounds for this issue such as disconnecting from other dapps, restarting Trust Wallet app, rebooting entire device, trying multiple mobile browsers (Safari and Chrome) but they all result in the same error / it never connects.
I can confirm that the same process using WalletConnect to connect to MetaMask instead of Trust works fine on the same device / dapp. I can also confirm that when I use WalletConnect on other webapps such as Uniswap and Pancake swap it also connects ok to the Trust Wallet on the same device (most of the time).
The script import in the html is as follows:
<script src="https://github.com/WalletConnect/walletconnect-monorepo/releases/download/1.4.1/web3-provider.min.js"></script>
Does anyone have any advice or perhaps a link to a dapp made with Moralis that works on mobile iOS with WalletConnect / Trust Wallet that I could test? Trust Wallet support is a major requirement for our mobile dapp.
Any help would be appreciated!