logout
Clears the current user's session and identity data. This is the method you should call when a user logs out of your app, but you want to continue using the same Beacon instance.
Any active chat for the user will remain active after logout. To end the active chat upon logout, use logout.
Note: Push notifications will continue to work after logout. The SDK maintains device registration across user sessions, allowing new users to receive notifications immediately after identification without requiring device re-registration.
Clears the current user's session and identity data. This is the method you should call when a user logs out of your app, but you want to continue using the same Beacon instance.
Note: Push notifications will continue to work after logout. The SDK maintains device registration across user sessions, allowing new users to receive notifications immediately after identification without requiring device re-registration.
Parameters
Set to true to end any active chat for the user upon logout, false to leave it active.