OneKeyHQ / OneKeyHQ/app-monorepo

[BUG]: OneKey Browser (WebView) doesn't open Wallets list when clicking WalletConnect Modal's Select Wallet button on Android

Open
#6,804 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2.4k
Forks
535
Avg merge
21h 55m
Merged PRs (30d)
497

Description

- [x] I checked to make sure that this issue has not already been filed

Title: OneKey Browser (WebView) doesn't open Wallets list when clicking WalletConnect Modal's Select Wallet button on Android

Describe the bug
The OneKey browser on Android fails to load a deeplink when using the WalletConnect modal. Specifically, after clicking the "Select Wallet" button, the browser throws an error and does not open the available wallets on the device.

To Reproduce
Open the OneKey browser on an Android device (Note: iOS does not have the "Select Wallet" button, but it works when selecting OneKey from the list).
Visit [app.gmx.io](https://app.gmx.io/). (Any dapp)
Click "Connect Wallet" in the header.
Choose "WalletConnect."
Click "Select Wallet."
Expected behavior: A list of available wallets installed on the device should appear.
Actual behavior: An error occurs, and the page displays the message:
"Webpage not available, the webpage at wc:... could not be loaded because: net: ERR_UNKNOWN_URL_SCHEME."
Expected behavior
The "Select Wallet" modal should display a list of available wallets on the device, allowing the user to choose and continue the connection.

Screenshots
![Image](https://github.com/user-attachments/assets/e17fbab7-8cc7-467e-9adf-fd3179d450d5)
![Image](https://github.com/user-attachments/assets/25723c6d-fece-4e70-a0b2-e5cbac29353a)

on Phantom wallet
![Image](https://github.com/user-attachments/assets/6f2c05d6-75ac-4456-bad7-cb084eff92b9)

on IOS OneKey wallet
![Image](https://github.com/user-attachments/assets/979df60d-a964-41ee-919b-04c32b679796)
![Image](https://github.com/user-attachments/assets/25054b3d-8858-475e-baa0-5564a671a011)
![Image](https://github.com/user-attachments/assets/d38ec1ce-adf3-4a27-af9b-438997f937ce)

Device: Samsung Galaxy S23 Ultra
OS: One UI 6.1
Browser: OneKey browser
Android Version: 14

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the WalletConnect flow in the OneKey Android browser on Android 14, following the reported path through app.gmx.io and the Select Wallet button. Investigate the Android WebView handling of the wc: deeplink and verify completion when the available installed wallets list opens instead of showing ERR_UNKNOWN_URL_SCHEME.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, react-native, typescript
Domain
mobile, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.