Back

Help with realtime on flutter

  • 0
  • Self Hosted
  • Flutter
  • Realtime
punti_z
11 Nov, 2024, 19:17

I am currently struggling to get Appwrite Realtime to work reliably on a flutter web project. I am experience 3 main issues

  1. App launches and realtime is non responsive to begin with. I need to refresh the browser a couple of time for it to come alive.
  2. At would disconnect without any hints that its happened and app just just stop receiving updates.
  3. When realtime works, a single trigger shoots the same update like 5 - 6 times.

Not practicle for me to post code here since its a relatively large project however does anyone have a good tutorial or a guiding project where realtimes been implemented well including things like detecting disconnects and handling them.

I really wish Damodar would make a tutorial for realtime in flutter ..

Any guidance will help. Thanks

TL;DR
Having issues with Appwrite Realtime on Flutter web: 1. Realtime is unresponsive at app launch, needs browser refresh. 2. Realtime disconnects without warning, app stops receiving updates. 3. Updates trigger multiple times. Solution: It's recommended to check for connectivity issues, follow best practices for realtime implementation, and consider tutorials for guidance.
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