Skip to content

Installing the TV SDK

Requirements

  • tvOS 11.0 or higher

Using CocoaPods

  1. On your Podfile, add the following line:

    platform :tvos, '11.0'
    use_frameworks!  
    
    pod 'UsercentricsUI', '2.11.3'
    

  2. On the root directory of your project, run the following command to install the pod.

    pod install
    

  3. Open your .xcworkspace file.

  4. 🚀 You are ready to start the SDK integration.

Using Swift Package Manager (SPM)

  1. On Xcode, Select File > Swift Packages > Add Package Dependency.

  2. Enter the package repository URLs:

    https://bitbucket.org/usercentricscode/usercentrics-spm-sdk
    https://bitbucket.org/usercentricscode/usercentrics-spm-ui
    

  3. Select the version you would like to use. We recommend sticking to "Up to Next Major" with "2.11.3" as minor version.

  4. 🚀 You are ready to start the SDK integration.

Requirements

  • Android 4.1 (API 16) and higher

Using Gradle

  1. Add the dependency to your app's build.gradle:

    dependencies {
        implementation "com.usercentrics.sdk:usercentrics-tv:2.11.3"
    }
    

  2. 🚀 You are ready to start the SDK integration.