didomi/didomi-ios-sdk-spm

How can I get custom vendor status?

santiagoperezALTEN opened this issue · 2 comments

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"];

Hello Santiago,

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

Best regards,

Felipe