ton-connect / sdk

SDK for TON Connect 2.0 — a comprehensive communication protocol between wallets and apps in TON ecosystem
Apache License 2.0
326 stars 92 forks source link

TonConnect in @tonconnect/sdk this method getWallet can not get any wallet when build by cocos creator #252

Open z330789559 opened 2 months ago

z330789559 commented 2 months ago

Describe the bug

import { TonConnect} from '@tonconnect/sdk'

  const was =await  TonConnect.getWallets();

this output only is {}

Expected behavior

default wallet list

Current behavior

{}

Steps to Reproduce

  1. clone https://github.com/CocosTechLabs/flappy-bird/tree/main
  2. open this client with cocos creater
  3. build this project
  4. run and click this connect button, this pop menu do not work
  5. if directly run this project without build , the popmenu can pop

Environment

any

Additional context

No response

acac1581 commented 1 month ago

Add this to Build Config

image