Launch Chat
Show the chat after start. The first call loads the widget, and later calls reopen the same conversation at once
Show the chat
KindlyWebViewSDK.displayChat()
KindlyWebViewSDK.displayChat(triggerDialogueId: "DIALOGUE_ID")
KindlyWebViewSDK.displayChat(languageCode: "nb")The chat opens as a full-height sheet over the top view controller. People close it with the chat's minimise button or by swiping the sheet down. Before start, displayChat logs an error and does nothing
Closing the chat this way keeps the conversation, see Close Chat
Options
triggerDialogueId starts that dialogue as the chat opens, see Trigger Dialogue. A languageCode other than the live chat's renders the chat again in that language, and takes the format described in Initialization
When the device or the app cannot run the chat, it shows a notice instead of the chat, see Checking Support