The MQTT Server only stores the last message sent and then replaces it when a new message is sent. The MQTT server doesn’t store old messages. And that is the only place where the messages are stored. Super Fast Loading of Messages (Using SQLite as Local DB to store messages)Įven when the client is offline, he/she can view the messages on opening the chat screen, because the messages are loaded directly from the local sqlite db. Instead they are stored in the local sqlite database in bytes format. Send & Receive Images (Snapchat style UI). Phone Number Authentication Sign-inĪuthentication is done using Firebase. To learn more about MQTT please refer here. Firestore is used only to store user & contacts data). (Firestore is in no way used to store or send text messages. When received, the client stores the message in the local sqlite database first then shows it to the chat screen. Then the MQTT server sends the message directly to the device of the client who is supposed to receive it. When you send a message from the app, the message first goes to the MQTT server. SQLite for storing contacts & chats in Local Database.įeatures Super Fast Messaging using MQTT Protocol (MQTT is used by Facebook Messenger).MQTT as messaging protocol hosted in AWS EC2.Firestore database for storing user data.Flutter for building the Android & IOS App.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |