Skip to main content
Version: 10.2.2

Migrating to THEOplayer Roku SDK 10.x

This article will guide you through updating to THEOplayer Roku SDK version 10 (from version 9.x), and the changes needed in your code. If you are upgrading from a version before 9.x, please follow the migration guide for 9.x first.

Update THEOplayer

Download the new pkg file from the THEOplayer portal. If you're including the pkg file when packaging your application, replace the previous pkg file with the new pkg file. If you're loading the pkg from the remote URL at runtime, change the URL in your ComponentLibrary node to point to the new SDK's URL.

<ComponentLibrary id="THEOsdk" uri="pkg:/components/THEOplayerSDK.pkg" />

Update Connectors to the 10.x version

If you are using any of the connectors for Roku, update them to the 10.x version as well. Either download them from the THEOplayer portal and add them to your application, or load them directly from a URL.

<ComponentLibrary id="THEOConvivaConnector" uri="pkg:/components/THEOConvivaConnector.pkg" />
<ComponentLibrary id="THEOComscoreConnector" uri="pkg:/components/THEOComscoreConnector.pkg" />
<ComponentLibrary id="THEOAEPConnector" uri="pkg:/components/THEOAEPConnector.pkg" />

Replace or remove usages of deprecated APIs

  • Removed THEOplayer.network.getHeader(). Use THEOplayer.network.getHeaders() instead.