I am trying to follow the documentation on setting up a Notification Service Extension in iOS, but even after following everything, images attached to a push notification or not being shown at least as a thumbnail. Just text shows up.
There is also another issue related to the documentation for implementing Notification Service Extension in iOS -- the CocoaPods library stated in the documentation is "AirshipExtensions/NotificationService" but when I do a pod install, it is able to install the library but gives the message "AirshipExtensions has been deprecated in favor of AirshipServiceExtension". I tried with "AirshipServiceExtension", replacing the "@import" but images are still not being shown as thumbnails in the push notification. I am using version 16.9.3 of the main Airship libraries via CocoaPods.
Can someone please look into this? I am testing this on an iOS 15.x device.
Comments
7 comments