We developed a Message App extension written in obj-c. Right now we are having problems when inserting a GIF image using the method insertSticker. The gif image is on a remote server and we first save it to local storage before inserting it to the active conversation.
We got this error description. Error Domain=com.apple.messages.stickers-error Code=6 "(null)"
We got this error due to memory limit for GIF file. It is given in the documentation for Messages
framework.
The image must be a PNG, APNG, GIF, or JPEG file.
The file must be less than 500 KB.
For the best results, the image should not be smaller than 100 x 100 points or larger than 206 x 206 points.