I'm trying to implement Notification Service extension, I was able to use it for images, audio and videos. But in Gifs, for few of the gifs the extension is crashing. eg. I tried for this attachment url which crashed my extension : https://g.twimg.com/blog/blog/image/Taco_Party_0.gif
I'm saving the downloaded gif in temporary folder and then creating an UNNotificationAttachment
instance. The instance isn't nil and also I checked the type of attachment to confirm, and it gave me com.compuserve.gif
. Its not happening for all the gifs, but I found this issue in multiple cases.
I'm getting Program ended with exit code: 0
in the console.
Can anyone help me with this?