Skip to content

Version 1.4.0

Choose a tag to compare

@cannuk cannuk released this 31 Aug 22:00
a8ac535

What's Changed

  • startConversation(messages:options:) — hand a customer over to Gladly with the context your app has already gathered, sent as their opening messages.
  • GladlyStartConversationOptions.suppressWelcomeMessage — leave out the message Chat shows before the customer has said anything, so the messages you pass are the first thing in the conversation.
  • GladlyStartConversationDelegate — reports when a handoff could not be sent, most often because the customer already has an open conversation.

Notes for integrators

Call set(user:) before startConversation, not after.

If the customer already has an open conversation the messages are not sent — the chat widget will not start a second conversation on top of one that is open. Chat is still presented, on the existing conversation, and the failure is reported to GladlyStartConversationDelegate. To guarantee a fresh conversation, call logout(), then set(user:), then try again.

Requires an org whose chat endpoint has no URL display rules configured. They cannot be evaluated in a WebView, and the widget will not finish loading if one is present.

Minimum iOS version is unchanged at 11.0.