I have a lottie animation that works on iOS and JV...
# compose
j
I have a lottie animation that works on iOS and JVM, but fails on Android: `e: file///Users/jq/dev/wally/src/src/commonMain/kotlin/ui/HomeScreen.kt614:32 Type mismatch: inferred type is NativeCanvas /* = android.graphics.Canvas */ but org.jetbrains.skia.Canvas was expected`` Any idea how to fix this? The diff is here: https://gitlab.com/wallywallet/android/-/merge_requests/85/diffs
a
The answer is in your comments. This code can't be used for Android. You can use it with expect/actual or with this lib that already done that for u
🙌 1
👍 1
j
Thanks