WalletConnect / WalletConnectUnity

[DEPRECATED] WalletConnect v2 and Modal for Unity 🎮
MIT License
150 stars 49 forks source link

The screen with the "Coinbase Wallet" is empty #192

Open NotNasty opened 7 months ago

NotNasty commented 7 months ago

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

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.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)

skibitsky commented 7 months ago

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 commented 6 months ago

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);