Download the SDK

Overview

Once you have published the SDK data, you can download the package for Roku from the OneTrust application. This package contains two .zip files (OTPublishersSDK and OTPublishersDemoApp) you will need to extract in order to demo, test, and implement the SDK.


Download from OneTrust Tenant

  1. Navigate to OTT & CTV Consent > Integration > SDKs.
  2. Select an application from the list.
  3. Select the SDK tab.
  4. Click the Download SDK button.

What's in the Download Package?

After unzipping the publishers-native-sdk-roku-[Version number].zip file, a .zip file and a folder will be available:

File/Folder NameDescription
OTPublisherDemoAppThis zip file contains the necessary files for downloading the demo application and testing the banner and preference center configurations.
OTPublishersSDKThis folder contains the OneTrust SDK which you can implement in your app.
LICENSE.txtThis is the SDK usage license policy file.
CHANGELOG.mdThis is the SDK Changelog file which contains a list of version changes.
READMEThis is the SDK Readme file that contains implementation instructions.

What's inside OTPublishersDemoApp?

File/Folder NameDescription
sourceMain directory for launching channel app.
manifestAttributes and versioning details for channel.
componentsDirectory for layout files.
imagesDirectory for channel art work.

What's inside OTPublishersSDK?


File/Folder NameDescription
componentsContains business logic for the OneTrust SDK solution.
OTExternalPackagesExternal packages imported for the SDK.
imagesDirectory for channel art work.
OTconfig.jsonJSON document for OT configuration.