-
Notifications
You must be signed in to change notification settings - Fork 20
Actions
The Emarsys SDK support different types of actions, what can be triggered by: Push buttons, Silent Push, Inbox buttons, In-App and Inline In-App messages or an On Event Action
.
App event type action is useful to trigger a registered eventHandler
in the Emarsys SDK.
An event is going to contain the following:
- name - String
- payload - Dictionary<String, NSObject>?
Note
It is possible to set
DeepLink
type of action as well, which is not a type in the Emarsys SDK.DeepLink
type of actions will behave like a special type of App Event, where the name parameter will beDeepLink
and the payload will contain the url.
Custom event type action is useful to e.g. trigger an Interactions program at Emarsys automatically based on the users interaction instead of calling trackCustomEvent
manually.
Open External URL is useful to navigate the user out of the application, by opening the specified URL in the default browser of the device.
Dismiss action is used to dismiss the shown notification. This action is only available for push type messages.