Migrate from v1.3.0 to v2.0.0
Medallia Experience Orchestration SDK for Android v2.0.0 also requires Java version upgrade to the version 17.
Medallia Experience Orchestration
list_alt
Medallia Experience Orchestration SDK for Android v2.0.0 also requires Java version upgrade to the version 17.
Application
class.Remove the apiKey
, sharedSecret
, and userId
values from the mxoConfiguration
top-level Kotlin property in onCreate()
method along with the relevant variables in companion object
.
Remove the apiKey
, sharedSecret
, and userId
values from the MXOConfiguration
Java method in onCreate()
along with the relevant class's variables.
// mxoConfiguration top-level property
this.apiKey = API_KEY
this.sharedSecret = SHARED_SECRET
this.userId = USER_ID
// companion object
const val API_KEY = "f713d44a-8af0-4e79-ba7e-xxxxxxxxx"
const val SHARED_SECRET = "bb8bacb2-ffc2-4c52-aaf4-xxx"
const val USER_ID = "yourUsername@yourCompanyName"
// class variables
private static final String apiKey = "f713d44a-8af0-4e79-ba7e-xxxxxxxxx";
private static final String sharedSecret = "bb8bacb2-ffc2-4c52-aaf4-xxx";
private static final String userId = "yourUsername@yourCompanyName";
// MXOConfiguration method
.apiKey(apiKey)
.sharedSecret(sharedSecret)
.userId(userId)
android
section of your app-level build.gradle.kts
or build.gradle
:compileOptions {
sourceCompatibility(JavaVersion.VERSION_17)
targetCompatibility(JavaVersion.VERSION_17)
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
Medallia®, the Medallia logo, and the names and marks associated with Medallia’s products are trademarks of Medallia and/or its affiliates. All other trademarks are the property of their respective owners.