-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image is not showing in iOS Rich push notification #409
Comments
@kuldeepAlG Could you help us with a few things so we can check it out?
Also, we have a sample app with rich pushes enabled in our github repo. Could you check the implementation there and see if it matches yours? Here it is: https://github.com/CleverTap/clevertap-react-native/tree/master/Example |
@akashvercetti Im attaching relevant libs from package.json file : |
@kuldeepAlG Your image URL works fine on our sample app. We are able to get the image in a rich push. Heres my payload:
Your payload needs to have |
@akashvercetti Thank you for the quick response.
Even after setting aps in Custom key-value pairs. Im not getting it when clicking the notification |
@kuldeepAlG I was able to get the notification image after creating a campaign. Are you clicking on the notification? or dragging it downwards? Clicking it would open the app. |
@akashvercetti |
@kuldeepAlG you do not need to add "aps" keys in custom key-values.
|
|
@kuldeepAlG To debug this further, i can suggest 2 steps:
|
Image is not coming ios but its coming fine on the android side
image in sending in push notification from clevertap dashboard: https://db7hsdc8829us.cloudfront.net/dist/1712904832/i/13ca46afbff14e4c83711a78a4cd5145.jpeg
I have followed the exact same steps mentioned in the link.
https://github.com/CleverTap/clevertap-react-native/blob/HEAD/docs/iospushtemplates.md
Changes i have done in my:
Added the below code at the last of the podfile
I have removed all the auto generated code and added only below code
I have replaced the value of NSExtensionPrincipalClass to CTNotificationServiceExtension and again reverted it but non of these is working
Can anyone guide me, if im missing anything?
The text was updated successfully, but these errors were encountered: