docs icon indicating copy to clipboard operation
docs copied to clipboard

Build flutter real time multi user chat app

Open MahmoudTark opened this issue 7 months ago • 1 comments

Full tutorial of how to Build Flutter Application with real time users chat

MahmoudTark avatar Jul 20 '25 09:07 MahmoudTark

@MahmoudTark is attempting to deploy a commit to the Directus Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Jul 20 '25 09:07 vercel[bot]

Hi @MahmoudTark! Thanks for putting this tutorial together :)

Unfortunately I don't think this is quite ready to merge as-is. My main concerns are:

  • sendMessage and loadMessages are left as stubs with "implement here" comments. A reader following along won't end up with a working app
  • The WebSocket subscription will cause duplicate messages: messages are added optimistically and received back via the subscription, without deduplication
  • Code blocks are missing language tags (dart, yaml)
  • KDirectusApiUrl is referenced but never defined, so could cause broken setups if followed exactly
  • The auth setup is contradictory (Public policy with full access, but also token-based WebSocket auth)

I'll close this for now, but would love to see a revised version that has the full working implementation. The Flutter + Realtime combo is a great tutorial topic! 🫶

rijkvanzanten avatar Feb 10 '26 15:02 rijkvanzanten