When Smartsupp.openChatBox is triggered, a blank screen opens with an activity indicator spinning in the center. Nothing else happens. The following logs appear in the console:
let status = Smartsupp.shared.state.status
let userIsBlocked = Smartsupp.shared.state.userIsBlocked
print("📗 Smartsupp: Chatbox status: ",status)
print("📗 Smartsupp: Chatbox userIsBlocked: ",userIsBlocked)
Smartsupp.openChatBox {
switch $0 {
case .success:
print("📗 Smartsupp: Chatbox was opened")
case .error(let error):
print("📕 Smartsupp: Failed to open the Chatbox - \(error.localizedDescription)")
}
}
conslole:
📗 Smartsupp: Chatbox status: online
📗 Smartsupp: Chatbox userIsBlocked: false
📗 Smartsupp: Chatbox was opened
When Smartsupp.openChatBox is triggered, a blank screen opens with an activity indicator spinning in the center. Nothing else happens. The following logs appear in the console:
conslole: