Back

Realtime does not work after background mode when it becomes active

  • 0
  • Self Hosted
  • Flutter
  • Realtime
Sabit
14 Apr, 2024, 19:02

Hello! I have a flutter application. I have installed the latest version of appwrite on my server. Everything works well except real time. When the phone is in the background for a long time and after it becomes active again, realtime stops working. You will have to restart the application. How can I solve this problem?

TL;DR
Developers experiencing issues with realtime functionality in their Flutter application after the app has been in the background for an extended period. Realtime stops working upon reactivation, requiring a restart of the app. To solve this problem, ensure that the app's websocket connection is properly handling reconnections upon becoming active again from the background mode.
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