When I create a MSMessageTemplateLayout object and set the mediaFileURL property to the URL of the location of a gif I just created locally on the device, the layout just shows a single image, and does not animate the gif.
However, if I just use the method:
activeConversation?.insertAttachment(gifUrl, withAlternateFilename: nil, completionHandler: { (error) in
})
the gif is displayed and animated correctly. However I don't get the benefit of the interactive message. The 'gifUrl' parameter is the same url I was setting the mediaFileURL property to with broken results.
When I watched the WWDC video https://developer.apple.com/videos/play/wwdc2016/224/ it mentioned that the medialFileURL property would support '.gif' file types. Anyone having similar results?