MetaMask / MetaMask/metamask-mobile
[Bug]: WalletConnect does not work on mobile
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
### Describe the bug
I have tried to connect to a couple different dapps with metamask mobile but the walletconnect does not seem to work. The mobile app just hangs at the Connecting to MetaMask popup. It was working a few months ago but it stopped working. This is a big deal because I would not be able to touch my funds held up at dapps if I am logged out. I was able to connect with the browser extension. Without the browser extension, I would have been very screwed.
I have tried with other wallets and they work as well so it was not an issue on the dapp side.
I also have tried to clear local data and cache as well as deleting and reinstalling the app but did not solve the issue.
### Expected behavior
When connecting to a dapp using WalletConnect, metamask mobile app should prompt you with requests.
### Screenshots/Recordings
### Steps to reproduce
1. Go to a dapp website on a desktop browser (ex. https://www.asterdex.com)
2. Click Connect Wallet
3. Scan the QR code with the metamask mobile app
4. Observe the hanging pop up that says "Connecting to MetaMask..."
5. IF it works, try disconnecting and connecting again with the same wallet.
### Error messages or log output
```shell
N/A
```
### Where was this bug found?
Live version (from official store)
### Version
8.5.2
### Build number
6291
### Build type
None
### Device
Samsung Galazy A15 5G
### Operating system
Android
### Additional context
_No response_
### Severity
This bug has a critical impact on users since users won't be able to access their funds help up in a dapp (for example dex exchanges)
Contributor guide
Research direction
The issue names no repository files or tests. Start by reproducing the WalletConnect flow on Android using the listed device, app version, and dapp steps, then trace where the mobile connection remains at “Connecting to MetaMask...”. Done means a dapp connection prompts for requests and reconnecting works after disconnecting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native, typescript
- Domain
- blockchain, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100