WalletConnect / WalletConnectSwiftV2

WalletConnect Swift SDK v2
https://docs.walletconnect.com
Apache License 2.0
372 stars 183 forks source link

Problem with Push Notification for mobile wallet app #1339

Open EvgenV opened 8 months ago

EvgenV commented 8 months ago

Describe the bug I am trying to register my wallet App for receiving push notifications from dApps. I am using WalletConnectSwiftV2 for integrating WalletConnection into the app. According to the documentation https://docs.walletconnect.com/web3wallet/push-notifications I call register method for sending deviceToken.

but logs contains following error HTTP error: {"errors":[{"message":"The provided Tenant ID, MY_PROJECT_ID, is invalid. Please ensure it's valid and the url is in the format /:tenant_id/...path","name":"tenant"}],"fields":[{"description":"Invalid Tenant ID, MY_PROJECT_ID","field":"tenant_id","location":"path"}],"status":"FAILURE"} code: 400, host: echo.walletconnect.com, path: /MY_PROJECT_ID/clients It seems that I've missed something during configuring my project, but can not figure out what exactly.

SDK Version

To Reproduce Steps to reproduce the behavior:

  1. Configure Web3Wallet
  2. Call Web3Wallet.instance.register(deviceToken: deviceToken, enableEncrypted: false)

Expected behavior App registered for receiving Push notification from dApp

Device:

llbartekll commented 4 months ago

hey @EvgenV have you been able to resolve the issue?