taskrabbit / react-native-zendesk-chat

React Native Wrapper around Zendesk Chat v2
MIT License
130 stars 128 forks source link

chat connection ends if i have users set on the chat initialization #113

Open ijuliie opened 3 years ago

ijuliie commented 3 years ago
Screenshot 2021-05-05 at 10 49 03 AM
const chatSupport = () => {
    Auth.currentAuthenticatedUser().then((user) => {
        ZendeskChat.startChat({
            name: user.attributes.given_name,
            email: user.attributes.email,
            number: "",
            tags: [],
            // The behaviorFlags are optional, and each default to 'true' if omitted
            behaviorFlags: {
                showAgentAvailability: true,
                showChatTranscriptPrompt: true,
                showPreChatForm: false,
                showOfflineForm: true,
            },
            // The preChatFormOptions are optional & each defaults to "optional" if omitted
            preChatFormOptions: {
                name:  "optional",
                email: "required",
                number: "required"
            },
            localizedDismissButtonTitle: "Dismiss",
        })
    })
}

the chat connections end when zendesk agents are offline and i have the end users set. after that last reply from the bot, nothing happens but i still end up getting the messages in zendesk. this is only happening in IOS and seems like a bad user experience. can someone please help? thank you!

fbartho commented 3 years ago

I agree this is a bad User Experience @ijuliie! -- Unfortunately, this is either an upstream-issue with Zendesk's SDKs for iOS, or it's an issue with the configuration for your Zendesk account.

I would reach out to Zendesk Customer Support for help on this, as I can't investigate any of those issues for you!