About Restoring session in mobile after lock->unlock, internet disconnect->connect, etc

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:

  1. PC:
    internet disconnect-> connect: all the API calls(sendMessage, clearConversation, etc.) are called immediately after connecting
  2. 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? )

Hi @IvanDg, we noticed this issue in iPhones because, it seems to close the WebSocket connection when the phones is locked sometimes. We are looking more into it to evaluate. I suggest to please reach out to SERVOPS team and we will work with them in resolving this.

Hi @Ranjith_Manikante_Sa
Thanks for your response. I already created a ticket for this one. I can't give logs since I am using my phone. Hope to resolve it soon since hanging up the customers is not a good user experience.

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