Answer the question
In order to leave comments, you need to log in
How to make flutter + mysql live chat?
how to make a fluter chat is clear, how to connect an application to mysql is also clear, but how to organize a real-time chat with mysql why not firebase because I have a chat written on a node on the site, I want to make a chat application for mobile and synchronize it with the site ??
Answer the question
In order to leave comments, you need to log in
To send messages to clients in real time, use some kind of Socket.IO.
In docks even an example with a chat is.
Actually, there are libraries for both flutter and nodejs. Add the received messages to the database, when the client connects to the chat, you can send messages from the database or store N of the last messages in the chat daemon's memory and send them, and the database is only for history.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question