- Added support to Swift Package Manager (SPM) #56
- Added a feature to attach an arbitrary payload(publisher data) to action data. Check how to use it in this section of the README. #55
- Prefixed error classes with
CCPA
to avoid class naming clashes with the GDPR SDK #50 - Fixed an issue with authenticated consent not clearing user data when authId changed #54
- Significantly improved end-to-end testing
- Fixed an issue that was causing clash between GeneralRequestError class in GDPR and CCPA SDKs #50.
- Fixed an issue that was causing clash between onError methods in GDPR and CCPA SDKs #48.
- Fix an issue that'd prevent the onAction delegate method from being called #47.
- Implement .description to Action class #46.
- Make sure onConsentReady is called on all actions that closes the ConsentUI #41.
- Store the
IABUSPrivacy_String
as spec'ed by the CCPA IAB. - Store the "ccpa applies" boolean. This is not covered by the IAB CCPA In-app spec so we're using our own key. It can be retrieved by reading it from the
UserDefaults
with:
UserDefaults.standard.bool(forKey: CCPAConsentViewController.CCPA_APPLIES_KEY)
- Fixed an issue that'd prevent the consent message from showing again if the user dismissed it in the first place.
- Added authenticated consent. For more details on how to use it check the README
- Added a new consent status ConsentedAll.
- Fixed an issue that was causing consent from not being stored when clickin on a button of action type "Accept All"
- Fixed an issue that prevented the message from showing on every second app launch if no user interaction was taken.
- Fixed an issue that would cause the stored userConsents to always be RejectedNone
- ConsentUIWillShow deprecated and substituted for ccpaConsentUIWillShow to enable integration with gdpr SDK.
- expanded
PropertyName
to accept property names with dashes (-)
- Changed init method to receive
campaignEnv
instead ofcampaign
campaignEnv
is now an enum (CampaignEnv
) with two possible values.Public
and.Stage
- added
@objcMembers
toUserConsent
class. - added
targetingParams: TargetingParams
to CCPAConsentViewController's init method. ThetargetingParams
is a dictionary of arbitrary key/value strings that can be passed by the host app and used in the scenario builder on SourcePoint's dashboard. - fixed an issue preventing the SDK from loading a CCPA message
First release.
- Using the new and improved native message client.
- Using new wrapper api with CCPA endpoints