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

[SDK]: EventStream issue #183

Open thedoomboy opened 5 months ago

thedoomboy commented 5 months ago

Describe the bug

I'm experiencing a problem with a @ton-connect/ui-react integration where upon using sendTransaction when connected to an external wallet (on my iPhone) sometimes the EventStream doesn't reflect the actions taken within the TonKeeper app, for example cancelling the transaction request or even sometimes upon transaction sending. I've dug through documentation and also watched the console logs which finally lead me to the eventstream which just has the heartbeat in it when this occurs (when it's working it includes the decline and success events for the transactions).

I'm not sure if I should be posting this in here or elsewhere so let me know if this is the incorrect place and if you could assist in where i should report this issue that would be much appreciated.

Expected behavior

Having the eventstream be consistently updated with the users actions taken within the TonKeeper iOS app.

Current behavior

The eventstream is inconsistenly updated with the users actions taken within the TonKeeper iOS app where it's sometimes failing to get updated,

Steps to Reproduce

  1. Call sendTransaction on tonConnectUI when connected to TonKeeper on your external wallet (in my case iOS app)
  2. Cancel or complete the request
  3. Sometimes the UI won't update within the website, sometimes it will work as it should (saying transaction declined or succesful)

Environment

On desktop i'm using Chrome with @tonconnect/ui-react On mobile to complete the transaction i'm using TonKeeper on iOS

Additional context

No response