Starting from Pushwoosh SDK version 6.7.5, you have the ability to send Modal Rich Media.
We are introducing new Modal Rich Media, which can be customized. The new Modal Rich Media do not completely block the screen and can be positioned in different parts of the screen (top, bottom, and center).
For more information on Rich Media pages, please refer to our guide.
Configuration
To enable the display of Modal Rich Media, set the parameter Pushwoosh_RICH_MEDIA_STYLE in your info.plist and assign it the value MODAL_RICH_MEDIA.
Info.plist:
By default, Modal Rich Media will be displayed in the center of the screen with a bottom-to-top appearance animation.
To configure the display of Modal Rich Media (screen position, show animation, close animation), you need to use the following method:
Modal Rich Media positioning
Modal Rich Media can be positioned in three locations: top, bottom, or center.
The example below shows a Modal Rich Media displayed at the top of the screen.
Modal Rich Media show animations include:
Modal Rich Media close animations include:
The example below demonstrates displaying Modal Rich Media at the bottom of the screen with a left-to-right show animation and a rightward close animation:
Additional parameters for Modal Rich Media
Additional parameters for displaying Modal Rich Media include options like adding options like adding haptic feedback of type vibration, enabling swipe gestures, and setting an automatic close timer after a specified duration.