Skip to main content
Links your user ID to the SDK’s anonymous ID for cross-device entitlement tracking and attribution. Call it after a successful login to sync the user’s entitlements across devices.

Signature

The Future completes once the call reaches the native SDK. It does not wait for the network.

Parameters

Attributes passed to identify() replace the stored set; they are not merged. When the call changes the user or the attributes, the stored set becomes what you pass, so a field you leave out does not carry over. To add or change attributes without touching the others, call setUserAttributes(), which merges.An empty EncoreUserAttributes() counts as no attributes, so it leaves the stored set unchanged.

Usage

Basic identification

With attributes

Identify, then add attributes as you learn them

Call identify() after a successful login. On logout, call reset() to clear the user ID and attributes.