iOS Chat SDK v2 greeting words not appearing when all fields are fulfilled.
Hey, I'm integrating Zendesk Chat iOS SDK v2, SDK version v2.10.0, and here's my setting:
// MARK: Configurations
var messagingConfiguration: MessagingConfiguration {
let messagingConfiguration = MessagingConfiguration()
messagingConfiguration.name = "Chat Bot"
return messagingConfiguration
}
var chatConfiguration: ChatConfiguration {
let chatConfiguration = ChatConfiguration()
chatConfiguration.isPreChatFormEnabled = true
chatConfiguration.chatMenuActions = [.emailTranscript, .endChat]
chatConfiguration.preChatFormConfiguration = ChatFormConfiguration(name: .required,
email: .optional,
phoneNumber: .required,
department: .required)
return chatConfiguration
}
var chatAPIConfiguration: ChatAPIConfiguration {
let chatAPIConfiguration = ChatAPIConfiguration()
chatAPIConfiguration.department = "xxx"
chatAPIConfiguration.visitorInfo = VisitorInfo(name: name, email: email, phoneNumber: phone)
return chatAPIConfiguration
}
When visitorInfo is not fulfilled, the greeting words works fine.
I checked Android version v3.2.0, it works as expected(bot message will appear everytime no matter visitor info is fulfilled or not)
Can someone help to check?
-
Hi Bing! Please check to see if this issue is present in our sample apps. If you are still seeing this issue, drop me a line here.
-
@...
Sorry, I'm using iOS version, can you give me the iOS sample? By the way I checked the android sample, it works fine.
-
I'm sorry for sending the wrong one...here are the iOS demo apps!
-
Thanks, @...,
I've tested in this demo and I found it's happening in the demo too,
there are two issues:
1. The greeting words not appearing when all visitor info is fulfilled.
2. Message sending is laggy when I send multiple messages at a time.
Please help to find out why... thanks
-
@... Is there any update?
-
Having the same issue with the latest SDK. Seems like it's still not fixed. Is there any update on this or a workaround?
-
Hi Greg Katechis!, We are also facing the same issue. How can we solve this?
-
Hi all, apologies for missing responses here. The behavior that is noted is expected and correct in iOS, as we note in our documentation here. Since the information is already being passed in the chatAPIConfig, there's no need for AB to prompt for that.
-
Yes but in our case, if all the information is passed in the chatAPIConfig, greeting words stop coming and a blank chat gets opened. Is this an expected behaviour? if yes, is there any workaround so that a user starting a new chat is always greeted even if all the information is preset using chatAPIConfig?
Please sign in to leave a comment.
9 Comments