Configuring the Android SDK
The Medallia Experience Orchestration SDK does not support partial, or piecemeal, configuration. You must provide all parameters, either all valid or invalid (empty string
or null
). When configured with invalid parameters, the SDK is set in an unconfigured state.
The Medallia Experience Orchestration SDK for Android supports User and Admin modes:
Admin mode — Admin mode provides you with an interface to add Activity Capture Points to Interactions and elements, Attribute Capture Points to elements, and preview your configuration before publishing it to your live environment.
User mode — The User mode build should be made available through the Play Store, when you are satisfied that all insights are being tracked in Admin mode and internal QA requirements have been met.
Setting up the SDK in User mode for Play Store builds
To start capturing, and receiving Optimizations with the Medallia Experience Orchestration SDK in User mode, you must first configure it with your Medallia Experience Orchestration parameters.
For more information on finding these parameters, see Integrating MXO with your mobile app.
When you have your parameters, configure the SDK.
We recommend adding the following lines of code for User mode under the Application
's subclass onCreate()
method. You must ensure the mxoConfiguration
top-level Kotlin property is set or the MedalliaMXO.setConfiguration
Java method is invoked after super.onCreate()
is called.
Setting up the SDK in Admin mode for internal distribution
We recommend adding the Admin mode function on your internal builds, behind a debug settings function or on a dedicated build pipeline, as described here.
To use the SDK in Admin mode, simply change the .mode
parameter to MXOMode.ADMIN
, as follows:
Reconfiguration of the SDK
The SDK can be reconfigured as many times as necessary.
If you have configured the Medallia Experience Orchestration SDK with all valid or invalid parameters and need to update the configuration for some or all parameters, add the following code after the configuration block:
You have now successfully configured the Medallia Experience Orchestration SDK for Android.