IvanDg | 2023-09-29 00:19:26 UTC | #1
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? )
RanjithManikanteSa | 2023-10-02 22:47:32 UTC | #2
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.
IvanDg | 2023-10-02 23:46:58 UTC | #3
Hi @RanjithManikanteSa 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.
system | 2023-11-01 23:47:26 UTC | #4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 22259