Visitor info is not being set in the offlineForm
I think this issue is related to the Zendesk Chat SDK and not to this repo, but I'm opening the issue here to see if anyone has the same issue or if somebody knows how to tackle it.
Right now I'm starting the chat with this configuration:
ZendeskChat.startChat({
name: userAttributes.name,
email: userAttributes.email,
phone: userAttributes.phone_number,
behaviorFlags: {
showAgentAvailability: true,
showChatTranscriptPrompt: true,
showPreChatForm: true,
showOfflineForm: true,
},
// The preChatFormOptions are optional & each defaults to "optional" if omitted
preChatFormOptions: {
department: 'required',
name: 'hidden',
email: 'hidden',
phone: 'hidden',
},
})
So the showOfflineForm is set to true, and the preChatFormOptions are setting to avoid asking for name and email, and I'm also setting the name and the email of the visitor, but when there isn't an agent online the offline form is still asking for name and email.
You can see what I say in this picture:

Looks like there are more people having the same issue but Zendesk support is useless: https://develop.zendesk.com/hc/en-us/community/posts/360051090313-iOS-Chat-SDK-v2-pre-fill-offline-form
I don't know if I can solve the issue implementing the method sendOfflineForm. I'm actually implementing it here just in case.
I am just here to confirm the same issue using Zendesk Chat V2 SDK using custom providers on Flutter portability, Zendesk does not help to fix the issue on their side
Any progress here?