Consent with setting types are not stored correctly.
Version
1.0.4
Steps to reproduce
Have multiple consents with consent type as Setting
Open the SDK ui by calling displayConsents
Choose accept all
Close the app
Start the app again
Open the SDK ui again by calling displayConsents
Actual result
Only native type consents (TypeNecessary, TypeMarketing, etc.) are selected and no custom types are selected (Setting)
Expected result
All consents are shown as selected
Issue
When storing purposes locally you usetype.name as identifier in storeConsentChoices . The type.name value seems to always be "custom" although we would like it to be the same as shortText. This result in all custom consents being overridden by the next custom consent when being saved.
Consent with setting types are not stored correctly.
Version 1.0.4
Steps to reproduce
Have multiple consents with consent type as Setting
displayConsents
displayConsents
Actual result Only native type consents (TypeNecessary, TypeMarketing, etc.) are selected and no custom types are selected (Setting)
Expected result All consents are shown as selected
Issue
When storing purposes locally you use
type.name
as identifier instoreConsentChoices
. Thetype.name
value seems to always be "custom" although we would like it to be the same as shortText. This result in all custom consents being overridden by the next custom consent when being saved.