From f0b3b25580146ab6c8b1375e71c846d304458684 Mon Sep 17 00:00:00 2001 From: Daniel Sinclair Date: Mon, 6 May 2024 18:34:43 -0400 Subject: [PATCH] fix: coinbase wallet redirect behavior (#1953) * fix: pass enableMobileWalletLink param to coinbase sdk * fix: qrcode logo margin increase to improve error correction for cb wallet * chore: changeset * Revert "fix: qrcode logo margin increase to improve error correction for cb wallet" This reverts commit ce9a87be8b192be7822ffcd799d228600c45f112. * revert: changeset qrcode --- .changeset/gorgeous-rabbits-nail.md | 5 +++++ .../walletConnectors/coinbaseWallet/coinbaseWallet.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/gorgeous-rabbits-nail.md diff --git a/.changeset/gorgeous-rabbits-nail.md b/.changeset/gorgeous-rabbits-nail.md new file mode 100644 index 0000000000..7af9e316d0 --- /dev/null +++ b/.changeset/gorgeous-rabbits-nail.md @@ -0,0 +1,5 @@ +--- +"@rainbow-me/rainbowkit": patch +--- + +Mitigated behavior in Coinbase Wallet where the user would be captured in the in-app browser upon redirect. diff --git a/packages/rainbowkit/src/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.ts b/packages/rainbowkit/src/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.ts index 80eb357094..83f36ec740 100644 --- a/packages/rainbowkit/src/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.ts +++ b/packages/rainbowkit/src/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.ts @@ -104,6 +104,7 @@ export const coinbaseWallet = ({ appName, appLogoUrl: appIcon, headlessMode: true, + enableMobileWalletLink: true, })(config), ...walletDetails, })),