Close Chat
Close the chat to hide it and keep the conversation
KindlyWebViewSDK.closeChat()The chat screen is dismissed and the SDK stays started. The chat page stays loaded in the background, so Send a Message and Trigger Dialogue keep working while the chat is hidden, and the next display reopens the conversation at once. The chat's minimise button does the same as this call
When the system runs low on memory while the chat is hidden, the SDK releases the page and connectionState turns disconnected. The next display loads the page again with the stored conversation, and until then the calls that need a page fail as they do before the first display