Skip to main content

Smart TV SDK upgrade guide

info

This guide provides information about how you can upgrade to the latest Swrve SmartTV SDK. For information about the changes that have been made in each SmartTV SDK release, see Smart TV SDK release notes.

Version 4.1.0

There are no code changes required to upgrade to Swrve Smart TV SDK v4.1.0.


Version 4.0.0

This section provides information for upgrading to Swrve Smart TV SDK v4.0.0.

The following table lists the methods and fields that have changed or been added:

ChangedTo
SwrveSDK.stop()SwrveSDK.stopTracking()
AddedSummary
config.autoStartLastUserSet to false to delay tracking until the user is identified with identify() or start().
SwrveSDK.isSDKStarted()Returns whether the SDK is currently started and tracking user activity.

Version 3.1.0

There are no code changes required to upgrade to Swrve Smart TV SDK v3.1.0.


Version 3.0.1

There are no code changes required to upgrade to Swrve Smart TV SDK v3.0.1.


Version 3.0.1

There are no code changes required to upgrade to Swrve Smart TV SDK v3.0.1.


Version 3.0.0

There are no code changes required to upgrade to Swrve Smart TV SDK v3.0.0.

The following table lists the methods and fields that have changed or been added:

AddedSummary
SwrveSDK.onIAMShown()Set a callback to know when an in-app message has been shown on screen
SwrveSDK.isMessageShowing()Returns true if in-app message is currently showing on screen
config.customOSThis allows you to override the OS name
config.customOSVersionThis allows you to override the OS Version name
config.customDeviceNameThis allows you to override the Device name
config.customAppStoreThis allows you to override the App Store name

Version 2.1.0

There are no code changes required to upgrade to Swrve Smart TV SDK v2.1.0.

The following table lists the methods and fields that have changed or been added:

AddedSummary
config.customKeyMappingBaseThis allows you to set custom key mapping for Base implementation

Version 2.0.0

This section provides information for upgrading to Swrve Smart TV SDK v2.0.0.

The following table lists the methods and fields that have changed or been added:

ChangedTo
identify(thirdPartyLoginId: onIdentifyError: )identify(externalUserId: onIdentifySuccess: onIdentifyError:)

Added a success block to the Identify call. For more information see our Smart Tv Integration Guide
AddedSummary
config.customPlatformThis allows you to fully override our iPlatform.
config.customKeyMappingTizenThis allows you to set custom key mapping for Tizen.
config.customKeyMappingWebOSThis allows you to set custom key mapping for WebOS.

Previous versions

If you're upgrading from a version older than 2.0.0, please refer to the Smart TV integration guide.