TizenTv Debugging

From Engineering Client Portal

Revision as of 23:04, 10 April 2024 by Mywikis (talk | contribs) (Import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Engineering Portal / Digital / DCR & DTVR / TizenTv Debugging


Introduction

The following document highlights the required configurations in order to run the Browser SDK(BSDK) on Samsung TV devices. Please refer to the initial setup document prior to performing the following steps.

Step 1: Setup Target Device

Follow the steps listed here to connect the TV target device to the computer running Tizen Studio.

Step 2: Run and Debug App

Right click on the project > Debug As > Tizen Web Application


Samsung tizen debug.png

This should open the application on the Target Device and Chrome Debug Tools on the computer.

Step 3: Add Browser SDK(BSDK) URLs to Access List

In the debug console you should see the following error when trying to load to the BSDK configuration file in the application:

Failed to load resource: net::ERR_UNKOWN_URL_SCHEME

In order to resolve this error you will have to allow access to files across the internet. Open the

config.xml

file > Navigate to the Policy tab > Add the following URLs to the Access table

Samsung tizen debug 2.png


The only limitation that we currently see is for NUID requests as the subdomain is randomly generated and Tizen doesn't allow the use of wildcards in URLs, e.g., https://*.nuid.imrworldwide.com. Also, you may have SDK measurement pings going out to a different location than secure-dcr, make sure to update according to client sfcode.

To bypass this limitation Tizen does allow a single wildcard entry "*" in the Access list, however this is not secure for production applications.

Step 4: Run and Debug App

Right click on the project > Debug As > Tizen Web Application
Samsung tizen debug 3.png


You should now see the BSDK initialization logs in the console and content measurement during video playback.