clevertap-react-native icon indicating copy to clipboard operation
clevertap-react-native copied to clipboard

Push Impression For iOS

Open DivyaJariwala610 opened this issue 3 years ago • 4 comments

i have added [[CleverTap sharedInstance] recordNotificationViewedEventWithData:request.content.userInfo] in notification Extension still Push Impression is not capture in Dashboard. It's working fine in Foreground but not working in background and killed state.

DivyaJariwala610 avatar Jun 09 '22 12:06 DivyaJariwala610

HI @DivyaJariwala610 , could you please double check if everything has been followed as per this document, specially the Dummy Profile Creation part: https://developer.clevertap.com/docs/ios#push-impressions

akashvercetti avatar Jun 13 '22 04:06 akashvercetti

@akashvercetti Yes, i have double-checked all the steps which are given in the document. Seems everything looks perfect. Also, How can I pass Identity/ Email in the Notification Service extension?

DivyaJariwala610 avatar Jun 14 '22 04:06 DivyaJariwala610

@akashvercetti Had the same question - Can you share an example project for passing Identity/Email in the NotificationServiceExtension ?

CatWithNineLives avatar Aug 05 '22 12:08 CatWithNineLives

@akashvercetti I have gone through the document and code and I found that in the notification extension's Info. list file we need to add NSExtensionPrincipalClass in this property if we use NotificationService push Impression will work fine in all the states but if we want to use rich media then we need to use the CTNotificationExtension as a value, Right now we are not able to use both the feature together.

DivyaJariwala610 avatar Aug 09 '22 12:08 DivyaJariwala610

Hi @DivyaJariwala610 did you have any solution for this case?

taikim8484 avatar Feb 19 '23 16:02 taikim8484

Closing due to inactivity. Please feel free to reopen if needed.

akashvercetti avatar May 11 '23 19:05 akashvercetti