Log out

Learn how to log out customers.

Call Kustomer.logOut to log out a customer from chat. Kustomer.logOut removes all conversations from the device.

Kustomer.logOut won't clear any global settings (for example, business hours) and knowledge base data.

Kustomer.logOut({ error in
  if error != nil {
    print("there was a problem \(error?.localizedDescription ?? "")")
  }
})

👍

Use logIn and logOut instead of `identifyCurrentCustomer

We've deprecated identifyCurrentCustomer. Use logIn() or logOut() followed by logIn() instead.