....
Also, the init process is also taking 4 5 seconds. Is there any optimal way to solve this issue with minimal delays for a smoother functioning of the chat system inside our project.
@vishalvnair let's collect some additional information before deciding where the root cause is
what's your location country?
can you put some measurement logs to see which ConnectyCube query takes what time. Or even you can enable ConnectyCube SDK logs and then provide the text file to analyse
My code is something like this below. The chat loading takes a minimum of 3 4 seconds to load and display the messages inside the dialog window.
... if (!ConnectyCube?.chat?.isConnected) { // alert('Not connected'); try { ConnectyCube.init(CREDENTIALS, CONFIG);
} else { // alert('connected');
.... Also, the init process is also taking 4 5 seconds. Is there any optimal way to solve this issue with minimal delays for a smoother functioning of the chat system inside our project.