Installing the TV SDK¶
Requirements¶
- tvOS 11.0 or higher
Using CocoaPods¶
-
On your Podfile, add the following line:
platform :tvos, '11.0' use_frameworks! pod 'UsercentricsUI'
-
On the root directory of your project, run the following command to install the pod.
pod install
-
Open your .xcworkspace file.
- 🚀 You are ready to start the SDK integration.
Using Swift Package Manager (SPM)¶
-
On Xcode, Select File > Swift Packages > Add Package Dependency.
-
Enter the package repository URLs:
https://bitbucket.org/usercentricscode/usercentrics-spm-ui
-
Select the version you would like to use. We recommend sticking to "Up to Next Major" with the latest release as minor version.
- 🚀 You are ready to start the SDK integration.
Requirements¶
- Android 4.1 (API 16) and higher
Android minimum SDK Version
Support for versions lower than Android 5.0 (API Level 20) is planned to be removed in releases starting from end of March/24
Using Gradle¶
-
Add the dependency to your app's build.gradle:
dependencies { implementation "com.usercentrics.sdk:usercentrics-tv" }
-
🚀 You are ready to start the SDK integration.