Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
z330789559 opened this issue Sep 2, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@z330789559
Copy link

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

@z330789559 z330789559 added the bug Something isn't working label Sep 2, 2024
@acac1581
Copy link

acac1581 commented Oct 4, 2024

Add this to Build Config

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants