WalletConnect/WalletConnectSwiftV2

Problem with Push Notification for mobile wallet app

Opened this issue · 1 comments

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

  • Client: WalletConnectSwiftV2
  • Version 1.18.1

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:

  • Device: iPhone11
  • OS: iOS17.4.1

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