Third-party SDKs
IAB Vendor
Transparency and Consent Framework (TCF)
The Didomi SDK shares the user consent status with vendors through the IAB GDPR Consent framework.
For vendors that support the framework (see the list here), the only thing you have to do is declare them in the list of vendors that your app uses (see the Getting Started section for more information on how to do that) and they will adapt their data processing to respect the user consent.
Global Privacy Platform (GPP)
Please note: to use GPP on Android, the minimum required Android API version is 21. Make sure your app support version 21 or above.
The Global Privacy Platform (GPP) string encapsulates user privacy preferences across multiple jurisdictions and frameworks. To learn more about Didomi's GPP integration read our help center documentation.
The pre-parsed data as well as the full GPP string are generated and stored by Didomi Mobile SDK in your app storage in NSUserDefaults (iOS) or SharedPreferences (Android).
IABGPP_HDR_Version
String
GPP Version
IABGPP_HDR_Sections
String
List of Section IDs
IABGPP_HDR_GppString
String
Full consent string in its encoded form
IABGPP_GppSID
String
Section ID(s) considered to be in force. Multiple IDs are separated by underscore, e.g. “2_3”
IABGPP_[SectionID]_String
String
String representation of each section. E.g. IAB TCF EU v2 String will be found at IABGPP_2_String
pre-parsed data from the applicable string section
String or integer
The key names are a combination of the “IABGPP_” prefix followed by the section prefix followed by an underline and then followed by the name of the value as specified here.
Non-IAB Vendor
For other vendors, that do not implement the IAB specification, you will need to share the consent status with their SDK if they have an API to do so or prevent their SDK from loading until the user has given consent for the vendor and its purposes. This has to be done manually for every vendor.
Vendor with custom API
Some vendors will offer a custom (non-IAB) API to tell their SDK what the user consent status is. In that case, check the user consent status for the vendor and pass it to the SDK:
Vendor without a custom API
For vendors that do not offer a custom API to share the user consent status, your only option is to not load their SDK until the user has given consent. Use the following snippet of code to get started:
Google Additional Consent Mode
The mobile SDK supports Google Additional Consent Mode, as described in Google's additional consent mode.
To handle it, the values for positive and negative additional consent string have to be set in the custom JSON:
Last updated