Migrate from v3.0.0 to v4.0.0
Medallia Experience Orchestration SDK for Android v4.0.0 removes support for CustomWebViewClient. The change will not affect projects with minimum supported SDK version higher than 26. However, if a project's minimum SDK version less or equal 26, you will need to make the following changes to the project.
Remove usingCustomWebViewClient setting from MXOAutomaticInteractionTrackingConfig.
Old code example:
mxoAutomaticInteractionTrackingConfiguration = mxoAutomaticInteractionTrackingConfiguration.copy {
disableInteractionTracking = true
disableWebViewInteractionTracking = true
usingCustomWebViewClient = true
}
MXOAutomaticInteractionTrackingConfiguration newConfig = new MXOAutomaticInteractionTrackingConfiguration.Builder()
.disableInteractionTracking(true)
.disableWebViewInteractionTracking(true)
.disableOutboundLinkTracking(true)
.usingCustomWebViewClient(true)
.build();
New code example:
mxoAutomaticInteractionTrackingConfiguration = mxoAutomaticInteractionTrackingConfiguration.copy {
disableInteractionTracking = true
disableWebViewInteractionTracking = true
}
MXOAutomaticInteractionTrackingConfiguration newConfig = new MXOAutomaticInteractionTrackingConfiguration.Builder()
.disableInteractionTracking(true)
.disableWebViewInteractionTracking(true)
.disableOutboundLinkTracking(true)
.build();
