The Tizen SDK migration guide provides developers with comprehensive instructions on transitioning from the legacy Kochava SDK to the updated version for Tizen platforms. This migration ensures continued support, enhanced features, and optimal performance for applications on Tizen devices. The document outlines the necessary steps to integrate the latest SDK, addressing key changes and considerations to facilitate a smooth migration process.
Gathering and Transmitting the TIFA
NOTE: This process requires v3.0.0 or higher of the Web SDK.
You may optionally gather and transmit the Tizen Identifier for Advertising (TIFA) through the SDK for purposes of measurement and attribution. Follow the steps below to accomplish this; if you are unsure as to whether this is a requirement, please contact your Client Success Manager.
- Before starting the SDK, import Samsung’s AdInfo API with the following script:
- Sleep the SDK prior to start to ensure that no measurement signal is transmitted until the TIFA has been gathered. While sleeping, the SDK will queue, but not transmit any measurement signal.
- Gather the TIFA using the AdInfo API, then register it with the Kochava SDK as a custom device identifier. Wake the SDK to allow queued and future measurement signals to be sent.
<script type="text/javascript" src="$WEBAPIS/webapis/webapis.js"></script>
NOTE: More information about the AdInfo API can be found in the AdInfo API Documentation.
Example:
kochava.setSleep(true)
kochava.startWithAppGuid("YOUR-APP-GUID-HERE")
Example:
var TIFA = webapis.adinfo.getTIFA();
kochava.registerCustomDeviceIdentifier('tifa', TIFA)
kochava.setSleep(false);