Skip to content

In App Message

The MovableInk SDK supports showing HTML based MI Content as In App Messages.

// Create stream subscription
StreamSubscription inAppMessageStreamSubscription;

inAppMessageStreamSubscription = _movableInkPlugin.subscribeToInAppMessageInteraction((String buttonId) {
  // User interacted with a button that contains a buttonId in the in app message
});

// Cancel stream subscription
inAppMessageStreamSubscription.cancel();

_movableInkPlugin.showInAppMessage("https://mi.example.com/p/rp/abcd12345.html");

Note the link ends with .html. When exporting your links from Studio, make sure to add this suffix when using it as an In App Message in the SDK.

If you're already using an In App Message provider, such as Braze or Salesforce Marketing Cloud, you can still use MovableInk driven messages from those tools.

Go to the In App Message article for customization options and integration with marketing cloud providers.