This information can help you troubleshoot your in-app messaging issues.
If you completed all the requirements for In-App Messaging, but messages do not show up, verify the following items:
Verify that the SDK is version 4.2 or higher and is correctly configured.
Ensure that you have a Messaging section in your configuration (the downloaded JSON file) or have a Messages remote endpoint, so that it can be retrieved from dynamic tag management.
Did you update your manifest file to define the full screen activity?
Verify that the local notification broadcast receiver is declared in your manifest. For more information, see step #1 in In-app messaging.
Check the list view in the Status column on the Manage In-App Message page and verify whether the message is live.
Verify that these settings are correct. On the Audience page, review the options on the Trigger tab, where you can specify how often the message is displayed.
Launch only fires on a new session. For information on when a session begins, see
lifecycleTimeout in the ADBMobile JSON config file.
Complete one of the following tasks:
Dynamic tag management might take a few minutes to update its endpoint with your new definition.
Give it some time and try again.
The config will only update on a new launch.
If the app was restarted in the life cycle session timeout, your new config might not have been downloaded.
The In-App Message full-screen template supports showing an image from a remote server (Image URL) or from the app bundle (Bundled Image). The image should be in a standard image format, for example, JPG, GIF, or PNG.
Due to device screens having many different dimensions, the image probably not fit exactly into the space provided by the template. The template always focuses on showing the center of the image and crops (portrait) or fades (landscape) the sides if the image does not fit.
Here is the exact placement and sizing rules for each orientation:
Portrait, where the image is scaled to height of 195px for phone, 529px for tablet, centered if image width is smaller than device width, and cropped if image width is greater than device width.
Landscape, where the image is scaled to 100% of height of device, width is 75% of the device, and with a fade out on the right.
If you have issues with the full-screen template, you can download and use the Custom HTML template. The Custom HTML template provides greater flexibility for images and allows full control of the template.
The SDK fetches new/updated messages at the time of a lifecycle launch. This is only when the application is closed/backgrounded for greater than the lifecycle timeout value and then re-opened.
Complete the following steps:
lifecycleTimeoutin the config file.