Mobile & OTT/CTV SDKs

Natively written SDKs and plugins for collecting consent on mobile and ott/ctv applications. They each provide configurable Banner, Preference Center, and Vendor List user interfaces and functions for helping collect and manage end-user consent.

Platforms Supported

Implementation Approaches

ApproachDescription
SDK + OneTrust UI (Recommended)Description
Embed the OneTrust SDK into your app and use the SDK's methods to manage pre-built user interfaces and user consent.

Pros

- Lowest effort to implement

- Simple to scale for many apps

- Easier to change over timeCons

- n/a
SDK + BYOUIDescription
Embed the OneTrust SDK into your app and use the SDK's methods to build your own user interfaces and manage user consent.

Pros

- SDK logic and methods kept same

- Can scale to many apps depending how UI is deliveredCons

- Larger initial implementation because UI logic and layouts built from scratch

- Not as easy to change over time

Mobile SDK Features

FeatureDescriptioniOSAndroidUnityXamarinReact NativeFlutterCordovaIonic
App ScanningScan apps to identify and categorize SDKs.
Sample AppOneTrust provided demo app to better understand how to implement the SDK.
OT Provided UIOneTrust provided UI templates, great for faster implementations or teams with fewer developer resources.
Configurable UI ParamsAbility to pass in custom UI parameters via a .plist or .json file to further customize your interface.N/AN/A
Custom FontsAbility to render the Banner and Preference Center with a custom font.N/AN/AiOS OnlyiOS OnlyiOS OnlyiOS Only
Supports BYOUI (Build Your Own UI)Some teams wish to build their own UI for maximum flexibility and control, for those teams we provide SDK public methods that make it easier to work with the data.
UI Methods
Should Show BannerA OneTrust computed property and method to decide if a banner/notice should be displayed to a User.
Setup UIA method that first check shouldShowBanner, and if true, will show either a OneTrust provided Banner or Preference Center UI to the user.N/AN/A
Show BannerA method that will always show a OneTrust provide Banner UI to the user.N/AN/A
Show Preference CenterA method that will always show a OneTrust provide Preference Center UI to the user.N/AN/A
User Save Actions
Accept AllA method that will update and save a User’s choice as Opted In for all SDK categories.
Reject AllA method that will update and save a User’s choice as Opted Out for all SDK categories.
Close BannerA method that will update and save a User’s choice as the consent defaults depending on geolocation rules setup in OneTrust Admin UI.
Confirm User ChoicesA method that will update and save a User’s granular choices for each category depending on their interaction with the Preference Center.
Template Data Support
Banner / NoticeProvide data to build a Banner UI for GDPR, CCPA, and IAB TCF 2.0 use cases.
Preference CenterProvide data to build a Preference Center UI for GDPR, CCPA, and IAB TCF 2.0 use cases.
Vendor List (IAB TCF2)Provide data to build a Vendor List UI for IAB TCF 2.0 use cases.
Vendor Details (IAB TCF2)Provide data to build a Vendor Details UI for IAB TCF 2.0 use cases.
SDK List w/ Name & DescriptionsProvide data to build a SDK List UI with name and description text.
Custom Branding and LogoThe SDK supports passing properties for customizing branding colors and logo files.
Translated TextThe SDK supports text translations across any number of languages.
Publishers
Re-Consent on PublishWhen publishing new settings to the SDK, this forces users to re-consent to a banner/notice by setting shouldShowBanner to true.
Publish Changes to Production AppsPublish changes to the SDK over time without having to re-submit the application to the app stores. Note: This will only publish template and consent model settings. SDK enhancements, optimizations, and bug fixes will require updating to the latest SDK and re-submitting to the app stores.
IAB TCF 2.2 TC StringThe SDK supports encoding an IAB TCF 2.2 consent string and sets the TC Data to local disk.
IAB CCPA US Privacy StringThe SDK supports writing the IAB CCPA USP String based on if a California based user has seen a notice and has exercised their right to opt out of the sale of personal data.
IAB GPPThe SDK supports the GPP framework and GPP strings.
Cross Device Profile SyncingThe SDK supports passing a known user’s consent settings across multiple applications and websites.
Record Keeping
Receipt LoggingThe SDK supports logging a consent receipt of each user’s interaction to OneTrust.
Test/Production ReceiptsThe SDK supports separating the receipts generated from test SDK Ids from the production receipts generated by actual app users.
Receipt DashboardsThe SDK sends data in a way that can be reflected in reporting dashboards on the OneTrust platform.
User Profile CreationThe SDK supports the creation and update of a user profile in the Universal Consent module. This is required to support Cross Device Profile Syncing.
Retrieve User GUIDAbility to programmatically retrieve the OneTrust-assigned GUID for anonymous users in order to look up their consent receipts in the OneTrust portal.
User Profile DashboardsThe SDK sends data in a way that can be reflected in a user profile dashboard.

CTV SDK Features

FeatureDescriptionApple TVAndroid TVFire TVRokuSamsung TVLG TV
App ScanningAbility to scan the application file to automatically identify and categorize 3rd party SDKs.
Demo AppOneTrust provided demo app to better understand how to implement the SDK.
OneTrust Provided UIOneTrust provided UI templates, great for faster implementations or teams with fewer developer resources.
Supports BYOUI (Build Your Own UI)Some teams wish to build their own UI for maximum flexibility and control, for those teams we provide SDK public methods that make it easier to work with the data.
UI Methods
Should Show BannerA OneTrust computed property and method to decide if a banner/notice should be displayed to a User.
Setup UIA method that first check shouldShowBanner, and if true, will show either a OneTrust provided Banner or Preference Center UI to the user.
Show BannerA method that will always show a OneTrust provide Banner UI to the user.
Show Preference CenterA method that will always show a OneTrust provide Preference Center UI to the user.
User Save Actions
Accept AllA method that will update and save a User’s choice as Opted In for all SDK categories.
Reject AllA method that will update and save a User’s choice as Opted Out for all SDK categories.
Close BannerA method that will update and save a User’s choice as the consent defaults depending on geolocation rules setup in OneTrust Admin UI.
Confirm User ChoicesA method that will update and save a User’s granular choices for each category depending on their interaction with the Preference Center.
Template Data Support
Banner / NoticeProvide data to build a Banner UI for GDPR, CCPA, and IAB TCF 2.0 use cases.
Preference CenterProvide data to build a Preference Center UI for GDPR, CCPA, and IAB TCF 2.0 use cases.
Vendor List (IAB TCF2)Provide data to build a Vendor List UI for IAB TCF 2.0 use cases.
Vendor Details (IAB TCF2)Provide data to build a Vendor Details UI for IAB TCF 2.0 use cases.
SDK List w/ Name & DescriptionsProvide data to build a SDK List UI with name and description text.
Custom Branding and LogoThe SDK supports passing properties for customizing branding colors and logo files.
Translated TextThe SDK supports text translations across any number of languages.
Publishers
Re-Consent on PublishWhen publishing new settings to the SDK, this forces users to re-consent to a banner/notice by setting shouldShowBanner to true.
Publish Changes to Production AppsPublish changes to the SDK over time without having to re-submit the application to the app stores. Note: This will only publish template and consent model settings. SDK enhancements, optimizations, and bug fixes will require updating to the latest SDK and re-submitting to the app stores.
IAB TCF 2.2 TC StringThe SDK supports encoding an IAB TCF 2.2 consent string and sets the TC Data to local disk.
IAB CCPA USP StringThe SDK supports writing the IAB CCPA USP String based on if a California based user has seen a notice and has exercised their right to opt out of the sale of personal data.
IAB GPPThe SDK supports the GPP framework and GPP strings.❌ (planned for 202403.1.0)❌ (planned for 202402.1.0)❌ (planned for 202402.1.0)
Cross Device Profile SyncingThe SDK supports passing a known user’s consent settings across multiple applications and websites.
Record Keeping
Receipt LoggingThe SDK supports logging a consent receipt of each user’s interaction to OneTrust.
Test/Production ReceiptsThe SDK supports separating the receipts generated from test SDK Ids from the production receipts generated by actual app users.
Receipt DashboardsThe SDK sends data in a way that can be reflected in reporting dashboards on the OneTrust platform.
User Profile CreationThe SDK supports the creation and update of a user profile in the Universal Consent module. This is required to support Cross Device Profile Syncing.
User Profile DashboardsThe SDK sends data in a way that can be reflected in a user profile dashboard.

What’s Next