Skip to content

[<SDK or UI-REACT>]: How can I correctly monitor the wallet disconnection status? #379

Open
@splcz

Description

@splcz

Your Question

When developing a Telegram mini-app, I use tonConnectUI.onStatusChange to monitor the wallet disconnection status. However, when the user actively disconnects in the wallet (like tonkeeper). I cannot get the latest wallet disconnection status in the Telegram mini-app, and onStatusChange always returns the previous wallet object. How can I correctly monitor the wallet disconnection status?

Context

No response

What have you tried so far?

No response

Relevant Code or Commands

No response

Documentation Check

  • Yes, I have checked the documentation.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions