Download and Import the SDK

Overview

The Roku SDK is currently only available for download from the OneTrust tenant.

Download the SDK

  1. Navigate to Mobile App or CTV Consent > SDKs.
  2. Select your Roku app from the list.
  3. Select the SDK tab.
  4. Click the Download SDK button.

What's in the Download Package?

After unzipping the downloaded file, you'll see the following contents:

File/Folder NameDescription
CHANGELOG.mdChange log of SDK versions.
LICENSE.txtSDK usage license policy.
OTPublisherDemoAppDemo app of the SDK.
OTPublishersSDKOneTrust Roku SDK to be implemented in your app.
READMEReadMe file for additional information.

What's in OTPublishersSDK?

File/Folder NameDescription
componentsBusiness logic of the of the Roku CMP SDK.
imagesDirectory for channel art work.
OTExternalPackagesExternal packages used by the SDK.
OTconfig.jsonJSON for OT configuration.

What's inside OTPublishersDemoApp?

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

Import the SDK to your App

Add the OTPublishersSDK file to your components folder.

  1. Copy the OTPublishersSDK folder from the .zip file downloaded from the tenant.

  2. Paste it into your app's components folder.

You're now ready to initialize!