Hi Virinchy,
I think about a formatter that can be used with the kapsel push plugin.
This formatter should be responsible for formatting incoming notification messages sent with SMP before displaying it in the notification bar when application is running in the background.
So when sending notification in form of {alert: ...., data: .....}
(as described in Push Notification API Scenarios - REST API Application Development - SAP Library)
such formatter should look like this:
function formatter(notificationMessageFromSMP) { var messageToDisplayInTheNotificationBarWhenAppInBackground = { title: notificationMessageFromSMP.alert, message: notificationMessageFromSMP.data }; return messageToDisplayInTheNotificationBarWhenAppInBackground; }