CleverTap / CTNotificationContent

A Notification Content Extension class to display custom content interfaces for iOS 10 push notifications
MIT License
14 stars 7 forks source link

SDK does not trigger userDidReceive or userDidPerformAction on user tap action in NotificationContent target #23

Closed manish-practo closed 1 year ago

manish-practo commented 2 years ago

Steps to reproduce

Note

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.

akashvercetti commented 2 years 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