...
There are 12 different In-App Message designs available:
Pop-up - Image, Title, Text and Button | Mini - Icon and Text | Full Screen Image |
Full Screen Image and Button | Pop-up - Image, Title, Text and Button | Pop-up Survey |
Pop-up - NPS with Text and Button | Native Alert & Action Sheet | 1-10 Rating NPS |
Starred Survey & Second Popup | Half Screen Image | Carousel |
Video | Drawer | |
If you want to manage the links you have added for inappler yourself, you can follow the step below.
...
After creating the Spin to Win from the RMC panel, as in the in-app message, each time you call a customEvent, it is checked whether there is a Spin to Win and then the Spin to Win is displayed.
Spin to Win Half Screen | Spin to Win Full Screen |
---|---|
Scratch To Win
After creating the Scratch to Win from the RMC panel, as in the in-app message, each time you call a customEvent, it is checked whether there is a Scratch to Win and then the Scratch to Win is displayed.
...
When your users perform a click action on the banner, deeplinks need to be handled and redirected by you. To do this, you can capture the URL using the RDInappButtonDelegate protocol. An example usage is as follows:
FirstWhen your users click on the banner, the deeplinks should be handled and directed by you. For this, you must call the delegate methodadd BannerDelegate to the relevant class.
Code Block |
---|
RelatedDigital.inappButtonDelegate = self |
Then, you can add the extension block and modify the following code according to your needs.
Code Block | ||
---|---|---|
| ||
class ViewController: UIViewController, BannerDelegate |
Then you can customize it by adding the following function.
Code Block | ||
---|---|---|
| ||
func bannerItemClickListener(url: String) { print(url) } } |
Product Stat Notifier
The Product Stat Notifier action that you define in the RMC Panel works in Product View, Add to Cart and Add/Remove Favorites events. You must make sure that the product id is sent in these events.
...
Product recommendations are obtained by the SDK's recommend method. To get product recommendations you must pass 3 2 mandatory arguments which are zoneId, productCode and complete.
The RDProduct class looks after the following features:
Property | Type |
---|---|
code | String |
title | String |
img | String |
dest_url | String |
brand | String |
price | Double |
dprice | Double |
cur | String |
dcur | String |
freeshipping | Bool |
samedayshipping | Bool |
rating | Int |
comment | Int |
discount | Double |
attr1 | String |
attr2 | String |
attr3 | String |
attr4 | String |
attr5 | String |
If the suggested products are available for the arguments given in the Completion method, you must process the product array.
...