Hi, (This issue is related to iOS)
The issue I am facing is that when iOS chat with ChatBot after operating hours, Dashboard doesn't send the complete chat like the image below. iOS only send the message I typed first so in the below image case iOS will show this :
13/07/2021, 11:20 pm Visitor: testing
I am using this code from the Demo app.
and this function to make sure that agent is online or not:
Chat.accountProvider?.getAccount { (result) in
switch result {
case .success(let account):
switch account.accountStatus {
case .online:
// There are agents available
self.departmentOrAgentStatus = true
default:
// No agents are available
self.departmentOrAgentStatus = false
}
case .failure(_):
// Something went wrong
self.departmentOrAgentStatus = false
}
}
