Slow Chat Message

Hey,
Whenever the user sends a new message, It first makes an API call using CometChat.sendMessage and when comes in onSuccess it gets displayed on the screen.
However, this gives a slow feeling to the app. Is there any way to show the sent messages before the sendMessage’s onSuccess?

Also, some time it didn’t show chat message and the receiver received it. It showed it later

Hi @DevAshutosh,

This issue is related to the network. If you are in a low network area then there might be a little delay in send messages. We have optimized send message API at our end and hope you won’t get a delay in send messages.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.