DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
This section provides API reference details for the In-App Messaging module in React Native unified plugin.
Displays a specific in-app message by its identifier.
1InAppMessagingSdkModule.showInAppMessage(messageId);| Parameter | Type | Description |
|---|---|---|
messageId | string | The in-app message ID to display. Use a valid message ID from your in-app message configuration. |
void1import { IamModule } from "@sfmc/react-native-iam";
2import type { IamApi } from "@sfmc/react-native-iam";
3
4const iam: IamApi = await IamModule.requestSdk();
5iam.showInAppMessage("message-id");