Disabling the Internet on the mobile device directly causes problems in the chat application. Messages are not stored in the openfire offline table, as Openfire still shows me online when it suddenly disconnects from the server. If you try to retry, messages sent during this period are lost.
Iām working on a chat application, after logging into openfire, I can chat, and other users can see me on the network, but the problem is that one user will lose the connection, for example, WIFI. In this situation, Openfire does not show my status as offline, and it still shows the Internet, which leads to the loss of message packets.
Please provide me with a solution that I cannot solve.
In the sidebar, like whatsapp and other applications send messages. Do they use a strategy for storing messages on the server and confirmation, or am I missing something here.
android openfire
user2384410
source share