User Identification

Identify users and log out in KMP.

Identify user

Associate the current session with a user (email, name, and optional ID). Use this after login or when you have user info:

Kotlin
LuciqKmp.identifyUser(
    email = "[email protected]",
    name = "Jane Doe",
    id = "user_123"  // optional
)

Reports, crashes, and session replays will be tied to this identity in the dashboard.

Log out

When the user logs out of your app, clear their identity and data:

Kotlin
LuciqKmp.logOut()

Call this so the next user is not associated with the previous one.

Last updated