Additional integration considerations

Medallia mobile SDKs Communication Bridge Integration

To enable communication between MXO and other Medallia mobile SDKs, such as Medallia Digital Experience Analytics (DXA) and Medallia Digital Feedback (DF), you will need to add the Medallia Bridge framework into your project along with frameworks for the SDK you are going to use it with.

The iOS Bridge SDK can be added to your project in two ways:

Cocoapods

For integration via Cocoapods, add the Bridge framework to your Podfile:

pod 'medallia-mobile-bridge-ios-sdk'

Then run the following command:

pod install

Swift Package Manager

For integration via Swift Package Manager, add the Bridge package to your project's Package Dependencies:

https://github.com/medallia/mobile-ios-bridge-sdk
Note: Medallia DXA and DF SDKs require their own development work. Please see the documentation to integrate and configure Medallia DXA and DF SDKs. For more information, see how to disable/enable Medallia communication for MXO.

Sending Interaction requests based on the Interaction map

To reduce the number of unnecessary Interaction requests sent automatically by the SDK, only Interactions with explicit Interaction paths created under a Touchpoint and configured with at least one point are sent to Medallia Experience Orchestration .

The SDK only sends Interactions if they have been created under a Touchpoint and/or if they match wildcard rules defined under a Touchpoint.

For an Interaction to be sent by the SDK this Interaction needs to contain at least one Activity Capture Point, Attribute Capture Point, and/or Optimization Point.

Important: If you are running the SDK in User mode, you need to ensure that all Interactions and related points have been fully published, before the SDK will trigger a request.

View Controller / View lifecycle overriding rules

The framework listens to a number of UIViewController and UIView methods to provide the desired functionality. Those methods are:

  • viewWillAppear
  • viewDidAppear
  • viewWillDisappear
  • didMoveToWindow

If you use these methods in your code, please ensure to call super when implementing them.