Uniswap / Uniswap/interface

[Bug] WalletConnect session disconnects when pairing with Uniswap Wallet (iOS & Android)

Open
#7,985 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
5.5k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

📱 Interface Affected

Which application are you experiencing issues with?


🧩 App Version

  • Version (latest available in App Store / Play Store)
  • Production build
  • Development build

💻 System / Environment Info

Please provide details about your environment:

  • Browser: Any (issue reproduced across multiple browsers)
  • OS / Platform:
    • iOS (latest stable)
    • Android (latest stable)
  • Device: Reproduced on multiple devices (iPhones and Android devices)
  • Wallet used: Uniswap Wallet (latest)
  • Network: Polygon (EVM) via WalletConnect v2

🔁 Steps to Reproduce

  1. Initialize a WalletConnect v2 provider in a DApp.
  2. Connect to Uniswap Wallet using either:
    • QR code
    • Deep link
  3. Wait ~20–30 seconds, keep pinging wallet OR attempt any action (e.g. personal_sign, eth_signTypedData, or eth_sendTransaction).
  4. Observe that:
    • The session disconnects spontaneously,
      or
    • The connection drops during the signing/transaction request,
      or
    • On Android, the wallet UI freezes on the splash/loading screen and never shows the confirmation prompt.

✅ Expected Behavior

  • WalletConnect session should remain stable for the duration of the session.
  • Signing or sending a transaction should reliably trigger an approval prompt.
  • Users should not need to reconnect before each transaction.

❌ Actual Behavior

  • WalletConnect session disconnects after ~20–30 seconds even if idle.
  • Session frequently drops during signing or sending a transaction.
  • Users must recreate the provider and reconnect the wallet before almost every transaction.
  • Even after reconnecting, signing often fails multiple times before succeeding.
  • On Android: Uniswap Wallet sometimes freezes on the loading/splash screen when receiving a signing request.

📸 Screenshots or Screen Recording

N/A (behavior is consistent and reproducible without visual anomalies beyond the freeze described).


🧾 Additional Context

  • Using WalletConnect v2 (latest) SDK.
  • No custom modifications to WalletConnect session handling.
  • Disconnects appear to originate from the wallet side.
  • Issue reproduced consistently across multiple devices and users.
  • Other WalletConnect-compatible wallets do not exhibit the same instability.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the WalletConnect v2 provider initialization and the QR/deep-link connection flow described in the reproduction steps. Reproduce the idle disconnect and signing-request failure on iOS and Android, then trace the session lifecycle and request handling; done means sessions remain stable and signing or transaction prompts reliably appear without reconnecting.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, ios, typescript
Domain
blockchain, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.