Migrate SDK integration
- Remove the Thunderhead SDK dependency from your app-level
build.gradle.ktsorbuild.gradle:.implementation("com.thunderhead.android:one-sdk:{SDK_VERSION}")implementation 'com.thunderhead.android:one-sdk:{SDK_VERSION}' - Include the Medallia Experience Orchestration SDK dependency instead.
dependencies { implementation("com.medallia:mxo-android-sdk:{SDK_VERSION}") }dependencies { implementation 'com.medallia:mxo-android-sdk:{SDK_VERSION}' } - Remove the Thunderhead SDK maven repository from the
repositoriessections of your app-level and top-levelbuild.gradle.ktsorbuild.gradle:maven { url = uri("https://thunderhead.mycloudrepo.io/public/repositories/one-sdk-android") }maven { url 'https://thunderhead.mycloudrepo.io/public/repositories/one-sdk-android' } - Add the Medallia Experience Orchestration SDK maven repository instead.
We recommend to add the Medallia Experience Orchestration maven repository to the
repositoriessection of thedependencyResolutionManagementsection of yoursettings.gradle.ktsorsettings.gradle:maven { name = "MedalliaMXO" url = uri("https://repository.medallia.com/artifactory/mxo-android-sdk/") }maven { name 'MedalliaMXO' url 'https://repository.medallia.com/artifactory/mxo-android-sdk/' } - Update Java support to version 11.
compileOptions { sourceCompatibility(JavaVersion.VERSION_11) targetCompatibility(JavaVersion.VERSION_11) }compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } - Remove the Thunderhead Orchestration Plugin from your project.
Depending on how you previously applied the Thunderhead Orchestration Plugin, remove all mentions of the
'com.thunderhead.android.orchestration-plugin'from your app-level and/or top-levelbuild.gradle.ktsorbuild.gradlefiles. - Add the Medallia Experience Orchestration Plugin to your project instead.
Follow our documentation on how to Apply the MXO Plugin to your project.
For more information, see Adding the Android SDK.
