Iterable / swift-sdk

Iterable's iOS SDK. Receive and track pushes to Iterable from your iOS app.
https://iterable.com/
MIT License
86 stars 68 forks source link

Image as Attachment in Push Notification payload doesn't get displayed #752

Open jeyashri-joy opened 3 months ago

jeyashri-joy commented 3 months ago

ISSUE Image as Attachment in Push Notification payload doesn't get displayed

SDK version: 6.5.0

We have tried setting up following instructions on ios SDK doc as well as advanced push notification doc.

We have added the Notification Service Extension and also added the IterableAppExtensions package to it. Also followed the instructions to replace code inside NotificationService.swift as recommeneded. On testing with a push notification, the push notification appears with all other data such as title, body, url etc but the image is not shown. Tried adding a breakpoint in ITBNotificationServiceExtension, but it doesn't seem to be called. Is this is existing issue?