In-App Messaging - API reference
This document lists the public APIs available in the Messaging extension for implementing in-app messaging.
refreshInAppMessages
By default, the SDK will automatically fetch in-app message definitions from the remote at the time the Messaging extension is registered. This generally happens once per app lifecycle.
Some use cases may require the client to request an update from the remote more frequently. Calling the following API will force the Messaging extension to get an updated definition of messages from the remote:
Android
iOS
Copied to your clipboardMessaging.refreshInAppMessages()
Copied to your clipboardMessaging.refreshInAppMessages();
Copied to your clipboardMessaging.refreshInAppMessages()
Copied to your clipboard[AEPMobileMessaging refreshInAppMessages];