didomi / didomi-ios-sdk-spm

A Swift Package of the Didomi iOS SDK
2 stars 1 forks source link

How can I get custom vendor status? #8

Open santiagoperezALTEN opened 1 month ago

santiagoperezALTEN commented 1 month ago

Hi, I was in version 'Didomi-XCFramework', '1.99.0' and currently I updated to version 'Didomi-XCFramework', '2.11.0'

I have a custom vendor ID c:airship-XXXXX, before with 1.99.0 i was able to get status value from this custom vendor ID but with the new version i can´t because of the new method:

Old: [[Didomi.shared getUserStatus].vendors.global.enabled containsObject:@"c:airship-XXXXX"])

New: [Didomi.shared getCurrentUserStatus].vendors[@"c:airship-XXXXX"];

felipe-saez commented 1 month ago

Hello Santiago,

Could you please try by removing the c: prefix, i.e.: [Didomi.shared getCurrentUserStatus].vendors[@"airship-XXXXX"];

Best regards,

Felipe