setWebRootDomains

fun setWebRootDomains(domains: Set<String>, appId: String)

The SDK is setting cookies in your web views in order to sync between the native and the web sessions. For that, the SDK has to know your website's root domain for the HTTP cookie (e.g, ".example.com"). Those domains can be set in the HUMAN's Portal; however, it is recommended to put them directly in the SDK's policy. IMPORTANT: the domain must be the same domain on which the Sensor sets cookies on the website. You should verify the correct domain to avoid VID inconsistency issues.

Parameters

domains

: List of your website's root domains.

appId

: The AppID of your account.