Closed manish-practo closed 1 year ago
@manish-practo currently, clicking on the notification opens a deeplink if provided, or the parent app. However if you need to get a method callback for userDidPerformAction
(for content slider template) or userDidReceive
(for newer templates) , you can define notification actions in your app like this doc snippet: https://github.com/CleverTap/CTNotificationContent#configure-your-app-for-push-and-add-a-notification-content-extension-target
Steps to reproduce
NotificationContent
targetuserDidReceive
noruserDidPerformAction
get's triggeredNote
userDidPerformAction
does get's trigger when carousel's page slides.Another issue
There are times when we need custom values from notification for mapping on specific action. But since none of the above mentioned function get's triggered, we are unable to get any data. One good example is deeplink.