Skip to main content
A class for storing user metadata used in offer targeting, personalization, and analytics. It carries the same fields as the native UserAttributes type on iOS and Android, and the plugin passes each one through to the native SDK unchanged. All fields are optional: pass only what you have.

Structure

Every value is a String, including numbers and dates. Convert before you pass them, for example months.toString().

Field reference

Identity and basic info

Location

Demographics

Subscription and billing

Engagement

Custom attributes

Usage

setUserAttributes() merges these into the stored set; identify() replaces it; reset() clears it.