rainbow-me / rainbowkit

The best way to connect a wallet 🌈 🧰
https://rainbowkit.com
MIT License
2.42k stars 643 forks source link

[bug] Coinbase Wallet connection redirects fail on Chrome iOS #2106

Closed DanielSinclair closed 1 month ago

DanielSinclair commented 2 months ago

Is there an existing issue for this?

RainbowKit Version

2.1.3

wagmi Version

2.9.2

Current Behavior

Coinbase Wallet redirects seem to be unreliable in some mobile WebKit browsers, including Chrome for iOS

Expected Behavior

No response

Steps To Reproduce

  1. Visit dApp in Chrome for iOS
  2. Connect with Coinbase Wallet
  3. Follow redirect and choose Already have a wallet
  4. Deep link or universal link redirect fails, tab closes. No console logs reporter

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

No response

Anything else?

No response

Samuele458 commented 2 months ago

I'm experiencing the same problem, from Chrome/Safari.

spencerstock commented 2 months ago

@DanielSinclair @Samuele458

Do you have an environment I can use for testing? Either your dapps/applications or a sandbox, anything is great.

Pretty likely it is an issue on our side, looking into it.

DanielSinclair commented 2 months ago

@spencerstock Yes, you can use our example dApp at https://rainbowkit-example.vercel.app/

spencerstock commented 2 months ago

@DanielSinclair I'm currently unable to repro, if you're able to hop into a meet with me - https://meet.google.com/rpu-bqto-avr

I'll hold this meet open for an hour if you happen to be available

Other things to try that will help us isolate the issue: Does the issue persist in an incognito tab? (or if you delete browsing data) Does the issue persist in Chrome?

spencerstock commented 2 months ago

I still haven't been able to repro, but I have seen other repro's of this problem. Working on a fix in the keys.coinbase.com popup that should get this sorted out. (we've tried other approaches but it's still not all the way solved)

magiziz commented 1 month ago

Closing this issue since it seems like it no longer can be reproduced.