Somebody here if it is possible to use Lottie anim...
# compose-ios
s
Somebody here if it is possible to use Lottie animations with compose? I saw something about skottie, but I couldn't find any examples online
👍 1
j
Currently not. They do not play.
s
Is their a way to use the except actual mechanism?
a
I think there more questions like this one in the history of this channel
d
@Ivan Matkov Can you please tell about your experience with Lottie on iOS side?
s
I found Ivan's example online, but the compiler can't find
import org.jetbrains.skia.Rect
->
Unresolved reference: skia
but I can jump to the source of it
i
Here I wrote what the problem is. Also in that thread there was mentioned a workaround:
Reading
time
reference inside
drawIntoCanvas
block solves the issue.
s
Ahh oke, but I still have the problem of
Unresolved reference: skia
do I need to make a change in a gradle script?
i
Update from DM: it was because it's unavailable in common/Android