iOS SDK 8.2.x Upgrade

Setting data use consent for GDPR support

Chartboost GDPR Consent Method:

[Chartboost setPIDataUseConsent:YesBehavioral];

is replaced by:

[Chartboost addDataUseConsent:[CHBGDPRDataUseConsent gdprConsent:CHBGDPRConsentBehavioral]];


Chartboost GDPR No Consent Method:

[Chartboost setPIDataUseConsent:NoBehavioral];

is replaced by:

[Chartboost addDataUseConsent:[CHBGDPRDataUseConsent gdprConsent:CHBGDPRConsentNonBehavioral]];


Chartboost GDPR Unknown Consent Method:

[Chartboost setPIDataUseConsent:Unknown];

is replaced by:

[Chartboost clearDataUseConsentForPrivacyStandard:CHBPrivacyStandardGDPR];


Chartboost GDPR Get Consent Value:

CBPIDataUseConsent consent = [Chartboost getPIDataUseConsent];

is replaced by:

CHBGDPRDataUseConsent *consent = [Chartboost dataUseConsentForPrivacyStandard:CHBPrivacyStandardGDPR];


Last Updated on June 25, 2020