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 for Kustomer Chat 2.0. Use logIn() or logOut() followed by logIn() instead.