SrSouza
01/28/2023, 8:27 PMDima Avdeev
01/28/2023, 9:24 PMSrSouza
01/28/2023, 10:31 PMMichael Paus
01/29/2023, 2:46 PMandroidx.compose.ui.res.SVGPainter
and
androidx.compose.ui.graphics.vector.DrawCache
. I just had to modify the loader slightly to read from a ByteArray. This should work on all platforms which have access to the native SKIA canvas. Basically this includes all platforms except Android. For Android I used AndroidSVG (https://bigbadaboom.github.io/androidsvg/)SrSouza
01/29/2023, 3:01 PMcommonMain/resources
for Drawables and uses svg-to-compose to generate the vectors only for iOS or platforms that does not support drawables, but in Android I will keep the drawables for legacy code support.