I have a customized UI using headless SDK and would like to ask if the connection is restored in mobile(chrome and browser) after lock-> unlock/internet disconnect -> connect/phone call->end call as I observed the following operation:
- PC:
internet disconnect-> connect: all the API calls(sendMessage, clearConversation, etc.) are called immediately after connecting - Mobile:
lock-> unlock: sometimes I can send message via sendMessage, sometimes I cannot(so I feel like the session was not restored?)
internet disconnect-> connect: I cannot send any API calls anymore(the session not restored?)
phone call->end call: sometimes I can send message via sendMessage, sometimes I cannot(so I feel like the session was not restored?)
※I see in the logs, that the sendMessage was invoked(although with no response). I expect messageReceived to be invoked from Genesys API
Is there a way to reconnect the session explicitly when disconnected? And what are events that I need to listen to, so I can start the reconnection.(MessagingService.restored? )