Hello, So I am setting partial consent in my Android Kotlin application, setting consentManager.userConsentCategories, but it sends two requests: first with full consent, and later with what categories I have selected: {
//...
"tealium_event": "grant_full_consent",
"consent_categories": ["analytics", "affiliates", "display_ads", "search", "email",
"personalization", "social", "big_data", "misc", "cookiematch", "cdp", "mobile",
"engagement", "monitoring", "crm"],
"policy": "gdpr",
//...
} And later there is a proper one: {
//...
"tealium_event": "grant_partial_consent",
"consent_categories": ["analytics"],
"policy": "gdpr",
//...
} Is it necessary? Can I somehow get rid of this additional call? Here is a code snippet I'm using: fun enableAnalytics(enable: Boolean) {
Tealium[INSTANCE_KEY]?.consentManager?.run {
userConsentCategories = if (enable) {
setOf(ConsentCategory.ANALYTICS)
} else {
// userConsentStatus = ConsentStatus.NOT_CONSENTED - commented out for test purposes but it doesn't matter
emptySet()
}
}
} I'm using com.tealium:kotlin-core:1.5.1
... View more