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

[bug][iOS] Connecting Trust Wallet opens Trust Bank SG app instead #2132

Open
1 task done
sarevok89 opened this issue Aug 8, 2024 · 1 comment
Open
1 task done

Comments

@sarevok89
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

RainbowKit Version

2.1.4

wagmi Version

2.12.4

Current Behavior

Hi guys, I've just noticed that having installed both the Trust Wallet and Trust Bank SG apps on my iPhone and trying to connect to the Trust Wallet wallet using the 'connect' button opens the Singaporean bank app instead. On Android, I can select one of these 2 apps but on iOS, I cannot.

Can we anyhow help the Rainbowkit select the correct app?

Expected Behavior

It should open the Trust Wallet app

Steps To Reproduce

  1. Install on your iPhone both the Trust Wallet and Trust Bank SG apps
  2. Go to https://www.rainbowkit.com/docs/introduction, in the top-right corner press the 'connect' button, and select the Trust Wallet
  3. See that the incorrect app is launched

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

https://www.rainbowkit.com/docs/introduction

Anything else?

RPReplay_Final1723113118.mp4
@sarevok89 sarevok89 changed the title [bug] Connecting Trust Wallet opens Trust Bank SG app instead on iOS [bug][iOS] Connecting Trust Wallet opens Trust Bank SG app instead Aug 8, 2024
@DanielSinclair
Copy link
Collaborator

DanielSinclair commented Aug 12, 2024

@sarevok89 This is unfortunately a rare edge case related to how iOS deep link schemas work. The trust:// scheme is not inherently reserved for Trust Wallet, and other apps can register the same deep link. iOS attempts to route around this based on which apps the user interacts with more frequently. In this case, it makes sense that you're seeing a clash when regularly interacting with both apps. Will keep this open as we investigate a workaround with a Universal Link for Trust Wallet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants