Closed subramanyamios closed 1 year ago
@nishant-clevertap Any help from your side? Please
@subramanyamios Can you share your AppDelegate file code to check if UNUserNotificationCenter delegate is correctly set or not? Also what deeplink you are using to open on click?
@nishant-clevertap
It's working on tapping the notification, the issue is only when you expand it. Here I mean to say we set delegate UNUserNotificationCenter.current()
correctly and getting call backs to this methosd func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void) {
The main issue is dismissing the push notification on the expanded and click state, it still remains in the notification center.
@subramanyamios Can you share a video for the issue which you are facing? Also share below things:
@nishant-clevertap
SDK versions CleverTap SDK - 4.2.2 CTNotificationContent 0.2.4 CTNotificationService 0.1.5
Integrated with Swift Package Manager - Version rules - exact version
Can't disclose
Hi @subramanyamios Thanks for raising this. We have reproduced this at our end and working on fix for this. We will update you when fix will be released.
Hi @subramanyamios We have added a fix for this in latest release: https://github.com/CleverTap/CTNotificationContent/releases/tag/0.2.5 Let us know if your issue is resolved after updating to v0.2.5. Thanks.
Created a Rich push notification supported by Clevertap (Timer Template), and it reaches the device then if expand and click on it opens the app but action has not been sent to the UNUserNotificationCenter delegate and the notification remains in the notification center.