Releases: SourcePointUSA/ios-cmp-app
Releases · SourcePointUSA/ios-cmp-app
5.2.8
- improved the error handling code of our WebMessageViewController. #229 (thank you @ivanlisovyi)
5.2.6
- fixed an issue that'd, in some cases, prevent authenticated consent from being stored #224
- disabled "back and forward" gestures in the WebView, to prevent users from skipping the consent message when no dismiss button is present. #221
- we are now getting the privacy manager id from the consent message when the user taps on Show PM instead of using the one provided to the SDK via constructor. #201
- fixed an issue that'd prevent
GDPRMessageJson
from having all its fields encoded #218 (thank you @ivanlisovyi) - considerably increase UI test coverage for both Native and Web messages.
5.2.5
- fixed an issue that'd prevent the consent message from showing up on iOS 10
5.2.4
5.2.3
Fixed an issue that'd prevent the user from interacting with the app when the PMId passed to the SDK was wrong. We now encapsulate that in a WebViewError
and call the onError
callback on the ConsentDelegate
.
5.2.2
- Add
vendorGrants
attribute toGDPRUserConsent
class. ThevendorGrants
attribute, simply put, is an dictionary representing the consent state (on a legal basis) of all vendors and its purposes for the current user. For example:
[
"vendorId1": VendorGrant(
vendorGrant: Bool,
purposeGrants: [
"purposeId1": Bool,
"purposeId2": Bool,
// more purposes here
]
)
// more vendors here
]
The vendorGrant
attribute is derived from purposeGrants
and will be true
if all purposes are also true
.
- Removed the bounce effect from the
MessageWebView
to improve on the UX while interacting with the consent message or the Privacy Manager.
5.2.1
5.2.1 (May, 27, 2020)
- Introduce the configurable timeout. You now can configure a timeout in which either the consent message must be shown or the consent data should be returned to the app (
onConsentReady
) by setting the attribute.messageTimeoutInSeconds: TimeInterval
. Just make sure to set it before callingloadMessage
orloadPrivacyManager
. #145 - Fixed an issue that would in some cases show the consent message for logged in users. #144
5.2.0
5.2.0 (May, 15, 2020)
- Added the method
customConsentTo
toGDPRConsentViewController
. It's now possible to programatically consent the current user to a list of vendors, categories and legitimate interest caregories. The ids passed will be appended to the list of already accepted vendors, categories and leg. int. categories. The method is asynchronous so you must pass a completion handler that will receive back an instance ofGDPRUserConsent
in case of success or it'll call the delegate methodonError
in case of failure. It's important to notice, this method is intended to be used for custom vendors and purposes only. For IAB vendors and purposes it's still required to get consent via the consent message or privacy manager. #139 - Fix an issue preventing consent data from being completely removed when calling
clearAllData
#141 - Removed one (and hopfeully the last one) retaining cycle from our SDK #136
5.1.0 (April, 16, 2020)
5.1.0 (April, 16, 2020)
This is big one. We're moving more and more towards a stable API, so bare with us.
- Fixed an issue that'd prevent the user to save consents from the privacy manager with the action Save & Exit #118
- Added
legitimateInterestCategories: [String]
toGDPRUserConsent
class #121 - Added
specialFeatures: [String]
toGDPRUserConsent
class #121 - Updated the AuthExample app to use SDKv5 #116
- Disabled zooming and pinch zooming actions on the message webview #114
- Changed the delegate method from
onAction(_ action: GDPRAction, consents: PMConsents?)
toonAction(_ action: GDPRAction)
. The consents is now part ofGDPRAction
and it's encoded intoData
. 462e9b6 GDPRUserConsent.tcfData
has changed types from[String: StringOrInt]
toSPGDPRArbitraryJson
. It can be used as a dictionary by calling its.dictionaryValue -> [String: Any]?
property.