WalletConnectUnity icon indicating copy to clipboard operation
WalletConnectUnity copied to clipboard

The screen with the "Coinbase Wallet" is empty

Open NotNasty opened this issue 1 year ago • 2 comments

Describe the bug Coinbase Wallet screen is empty

To Reproduce Steps to reproduce the behavior:

  1. Try to Connect Wallet
  2. Search "Coinbase Wallet"
  3. Click "Coinbase Wallet" icon

Expected behavior Coinbase Wallet screen should not be empty

Screenshots image image

Environment

  • Android
  • Unity version 2021.3.23f1
  • WalletConnect Unity Modal v1.1.1

Is this happening in Unity Editor or on a player like Android, iOS, Windows? Both: Unity Editor & Android

Wallets used for testing Coinbase

Additional context

Exception: Wallet Coinbase Wallet has no available connection types. WalletConnectUnity.Modal.Views.ApprovalViewTabsController.Enable (WalletConnectUnity.Core.Networking.Wallet wallet) (at /Plugins/WalletConnect/com.walletconnect.modal/Runtime/Views/ApprovalView/ApprovalViewTabsController.cs:64) WalletConnectUnity.Modal.Views.ApprovalView.Show (WalletConnectUnity.UI.WCModal modal, System.Collections.IEnumerator effectCoroutine, System.Object options) (at /Plugins/WalletConnect/com.walletconnect.modal/Runtime/Views/ApprovalView/ApprovalView.cs:73) System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) (at <4a4789deb75f446a81a24a1a00bdd3f9>:0) UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at :0) UnityEngine.UnitySynchronizationContext.Exec () (at :0) UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at :0)

NotNasty avatar Mar 28 '24 10:03 NotNasty

Hey @NotNasty,

Thanks! This is a known issue. Coinbase Wallet doesn't support the WalletConnect protocol and will be removed from that list in the future.

skibitsky avatar Mar 28 '24 10:03 skibitsky

As a temporary workaround, you can exclude the Coinbase wallet from your app:

var options = new WalletConnectModalOptions
{
    ConnectOptions = BuildConnectOptions(),
    ExcludedWalletIds = new[]
    {
        // Coinbase wallet ID from WalletConnect Explorer.
        // https://explorer.walletconnect.com/coinbase-wallet
        "fd20dc426fb37566d803205b19bbc1d4096b248ac04548e3cfb6b3a38bd033aa"
    }
};

WalletConnectModal.Open(options);

skibitsky avatar Apr 19 '24 11:04 skibitsky