Disabling automatic Interaction tracking

Disable automatic Interaction tracking, by calling the method disableInteractionTraking and passing true as a parameter, as shown below:

// Disabling the automatic Interaction tracking.
MedalliaMXO.automaticInteractionTrackingConfiguration = MXOAutomaticInteractionTrackingConfiguration { builder in
	 builder.disableInteractionTracking = true
}

// Updating the automatic Interaction tracking configuration.
let builder = MedalliaMXO.automaticInteractionTrackingConfiguration?.builder() ?? MXOAutomaticInteractionTrackingConfigurationBuilder()
builder.disableInteractionTracking = false
MedalliaMXO.automaticInteractionTrackingConfiguration = builder.build()
// Disabling the automatic Interaction tracking.
MedalliaMXO.automaticInteractionTrackingConfiguration = [MXOAutomaticInteractionTrackingConfiguration initWithBuilder:^(MXOAutomaticInteractionTrackingConfigurationBuilder * _Nonnull builder) {
        builder.disableInteractionTracking = YES;
}];

// Updating the automatic Interaction tracking configuration.
MXOAutomaticInteractionTrackingConfigurationBuilder *builder = MedalliaMXO.automaticInteractionTrackingConfiguration.builder ? MedalliaMXO.automaticInteractionTrackingConfiguration.builder : [MXOAutomaticInteractionTrackingConfigurationBuilder new];
builder.disableInteractionTracking = NO;
MedalliaMXO.automaticInteractionTrackingConfiguration = [builder build];

An appropriate place to call the method might be under didFinishLaunchingWithOptions in your AppDelegate class.

Important: By disabling automatic Interaction tracking, the SDK will no longer automatically send Interaction requests as View Controllers are presented on screen. It becomes your responsibility to send them when needed by using the send Interaction methods outlined in the current documentation.