Is there a way to use GIF and SVG images in CMP th...
# multiplatform
v
Is there a way to use GIF and SVG images in CMP that work on both Android and iOS?
g
SVGs are not supported on Android out of the box, so not much you can do (outside of tryint to convert SVGs
Coil has MPP support and supports Gifs on Android, but not sure that out of the box solution for iOS exists there, but I beleive if it's not supported, it's possible to support
v
Can't use coil as it doesn't currently support GIF for IOS
g
you can use standard iOS mechanics for this, isn't it? Maybe even integrate with coil
d
You could take a look at moko-resources. I've been experimenting with it and have been able use the same SVG images on both platforms.
g
It just generated VectorDrawable from SVG, it's easy to do manually, without lib