Download and Import the SDK
Overview
The Roku SDK is currently only available for download from the OneTrust tenant.
Download the SDK
- Navigate to Mobile App or CTV Consent > SDKs.
- Select your Roku app from the list.
- Select the SDK tab.
- Click the Download SDK button.
What's in the Download Package?
After unzipping the downloaded file, you'll see the following contents:
| File/Folder Name | Description |
|---|---|
| CHANGELOG.md | Change log of SDK versions. |
| LICENSE.txt | SDK usage license policy. |
| OTPublisherDemoApp | Demo app of the SDK. |
| OTPublishersSDK | OneTrust Roku SDK to be implemented in your app. |
| README | ReadMe file for additional information. |
What's in OTPublishersSDK?
| File/Folder Name | Description |
|---|---|
| components | Business logic of the of the Roku CMP SDK. |
| images | Directory for channel art work. |
| OTExternalPackages | External packages used by the SDK. |
| OTconfig.json | JSON for OT configuration. |
What's inside OTPublishersDemoApp?
| File/Folder Name | Description |
|---|---|
| source | Main directory for launching channel app. |
| manifest | Attributes and versioning details for the channel. |
| components | Directory for layout files. |
| images | Directory for channel art work. |
Import the SDK to your App
Add the OTPublishersSDK file to your components folder.
-
Copy the OTPublishersSDK folder from the .zip file downloaded from the tenant.
-
Paste it into your app's components folder.
You're now ready to initialize!
Updated 4 months ago
