setAttributes

actual fun setAttributes(attributes: Map<String, String?>)
expect fun setAttributes(attributes: Map<String, String?>)

Subscriber attributes are useful for storing additional, structured information on a user. Since attributes are writable using a public key they should not be used for managing secure or sensitive information such as subscription status, coins, etc.

Key names starting with "$" are reserved names used by RevenueCat. For a full list of key restrictions refer to our guide.

Parameters

attributes

Map of attributes by key. Set the value as null to delete an attribute.

actual fun setAttributes(attributes: Map<String, String?>)