Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

‼️ Improve mobile wallet dApp experience #1055

Open
nop33 opened this issue Dec 17, 2024 · 0 comments
Open

‼️ Improve mobile wallet dApp experience #1055

nop33 opened this issue Dec 17, 2024 · 0 comments
Labels
📱 MW Mobile wallet

Comments

@nop33
Copy link
Member

nop33 commented Dec 17, 2024

Problems

Providing a smooth experience when connecting the mobile wallet to dApps on a mobile browser of the same device has been a big challenge. Even after all our efforts, we're still suffering from multiple issues:

  1. dApps sometimes don't pick up session approval
  2. iOS users need to manually copy the WC URL
  3. Redirecting from mobile wallet to mobile browser is not straight forward

Video 1: dApps sometimes don't pick up session approval

screen-20241217-100701.mp4

Video 2: iOS users need to manually copy the WC URL

Kapture.2024-12-17.at.10.17.15.mp4

Proposals

Integrating an in-app browser within the mobile wallet would potentially improve the experience a lot:

  1. The user won't have to leave the app
  2. The app won't go into the background
  3. WalletConnect won't need to be used (we could inject JS same way the extension wallet does)
  4. iOS users won't have to copy+paste WC URL
  5. No redirections will need to take place
  6. See: Investigate using in-app browser for dApps #95

Except from work on the mobile wallet side, this would require some work on the Alephium web3 packages, possibly the @alephium/web3-react.

What do other wallets do

🦄 Uniswap

Uniswap does not provide an in-app browser. It relies on WalletConnect.

I tried connecting to OpenSea, but the experience was not good. I succeeded only after several retries.

Kapture.2024-12-17.at.10.31.54.mp4

🦊 Metamask

Metamask provides an in-app browser, which makes the experience very smooth.

Kapture.2024-12-17.at.10.36.56.mp4

Phantom | Linx Wallet | Coinbase Wallet | Trust Wallet | Rainbow

They all provide an in-app browser

Phantom Linx Wallet Coinbase Wallet Trust Wallet Rainbow
image image image image image

Related issues

@nop33 nop33 added the 📱 MW Mobile wallet label Dec 17, 2024
@nop33 nop33 added this to the MW 2.1: Tanstack & fiat on-ramp milestone Dec 17, 2024
@nop33 nop33 changed the title Improve mobile wallet dApp experience ‼️ Improve mobile wallet dApp experience Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📱 MW Mobile wallet
Projects
None yet
Development

No branches or pull requests

1 participant