Closed mtr1012 closed 3 months ago
hey @mtr1012 👋 Some questions:
hey @mtr1012 👋 Some questions:
- can you check what happens if you close the dapp and open it again?
- could you upload a video showing the complete flow?
- Can you provide your implementation code? Which chain are you trying to connect?
//My Config const chains = [mainnet, bsc] const wagmiConfig = defaultWagmiConfig({ chains, projectId, metadata }) createWeb3Modal({ projectId, chains, wagmiConfig })
// My app
// I use <W3mButton /> from '@web3modal/wagmi-react-native'
to connect
Thanks for your time @ignaciosantise
@mtr1012 the issue is weird 🤔 and your configuration seems to be OK. Some other questions:
@mtr1012 the issue is weird 🤔 and your configuration seems to be OK. Some other questions:
- Are you using the latest version of Trust? (v11.2 now)
- Are you using a VPN? If so, can you check turning it off?
- Does the error happen on both iOS and Android?
- Can you check if this sample project works for you? https://github.com/ignaciosantise/walletconnect-test
The missing icons
parameter in metadata
is the reason. Thanks for your support. I think you should update the docs and mark the icons
parameter is required 😂
@mtr1012 thanks for reporting 🤝
do you use Typescript? It should throw an error if the metadata
doesn't contain icons
@mtr1012 thanks for reporting 🤝
do you use Typescript? It should throw an error if the
metadata
doesn't containicons
Unfortunately, I'm using js instead
Description
I have integrated the
@web3modal/wagmi-react-native
via the docs from WalletConnect into my app: https://docs.walletconnect.com/web3modal/react-native/about I use theW3mButton
to connect with wallets, I can connect with only MetaMask wallet. When I try to connect with other wallets like SafePal and Trust Wallet, those wallets will stuck on the connecting step, and no connect confirmation alert appears. I'm not sure if it's an SDK bug or a wallet bug. Please help. Thanks for your time!Web3Modal SDK version
"@web3modal/wagmi-react-native": "^1.2.1"
Output of
npx react-native info
Expo Version (if applies)
No response
Steps to reproduce
W3mButton
component to render the connect button.Trust Wallet
orSafePal
.Snack, code example, screenshot, or link to a repository