Back

Console shows the connections after clients `subscription.close()` (Swift, React)

  • 0
  • Web
  • Apple
  • Realtime
Alex
18 Oct, 2023, 15:33
TL;DR
Users are experiencing an issue where after calling `subscription.close()`, the console still shows the connection as active. It is uncertain how long after closing the subscription this occurs. This issue is being observed on the iOS version and it is unclear if it also occurs on the web version. The app is running on Cloud Beta and the latest SDKs for Apple and Web are being used. There is no solution provided in the support thread.
Alex
18 Oct, 2023, 15:36

Run on Cloud Beta. On the client side, use the latest versions of SDKs for Apple and Web. After closing the subscription, the client stops receiving updates, but the console shows it's still on the wire.

Drake
18 Oct, 2023, 16:35

how long after?

Alex
18 Oct, 2023, 16:56

I'm not sure about the web version, but on iOS, it remains open until the app is sent to the background.

Drake
18 Oct, 2023, 17:06

And then it drops right away?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more