karthik1095Original post
Rank 2: Process
i have created a chat in flutter using realtime connection, but sometimes when a user start a chart realtime connection is not working. Is happen rarely. But when this happen user need to refresh. is there any simple way to find if a connection is active before sending a message.
Summary
Developers wondering how to check if a realtime connection is active before sending a message, especially in Flutter. Use the `app_realtime_ext` package for Appwrite realtime. Due to a known issue in the Flutter / Dart SDK resetting the connection, it's advisable to check and reestablish the connection if needed before sending a message.