Fuse Open Lottie Animation Component

Just released v1: https://github.com/rbtech/fuse-lottie

Have fun!

3 Likes

Thank you so much!!!

You’re welcome man, make something awesome!

I’ve many errors when I build for Preview on Android. This is one:

error: package com.airbnb.lottie does not exist com.airbnb.lottie.LottieAnimationView animationView = (com.airbnb.lottie.LottieAnimationView) lottieViewHandle;

All ‘com.airbnb.lottie’ has errors.

Can you help me?

Hmm, it seems that the specific android version is missing from lottie-android, weird.

@Samuel_Rizzon ok, updated the version in the repo… so strange that they removed the v2.5.3 for android but is the last valid version for iOS.

airbnb_lottie-android__Render_After_Effects_animations_natively_on_Android_and_iOS__Web__and_React_Native

So is there any way to use in Android?

Yes. Here we go : https://github.com/rbtech/fuse-lottie-app

Getting same ‘com.airbnb.lottie’ error mentioned above.

Which version of fuse are you using?

I just tested the test app again it works fine: https://github.com/rbtech/fuse-lottie-app

1 Like

I am using 1.9.0 I can preview it but when i try to build app it gets me error.

Yeah, that’s why… the gradle version is older in fuse 1.9, I believe you need to use fuse 1.10+ for it to use the newer gradle to download the dependencies.

1 Like

Thanks a lot. I have been trying since 2-3 days but didn’t got any solution.

Helloo,
I tried the exemple and it’s very fine. But is there a way to start the animation on app startup. I changed “isAnimationPlaying”, “play”, “isDefaultPlay” properties o “true” but still the same result. I also called “playAnimation()” function while the page is active and nothing happened. Can someone help me do this?
The animations are still on the screen when we go to a different page.

Try using an Observable

Can you help me with that?:grin: I am not very familiar with Lottie functions

Sure… have a look at the example app: https://github.com/rbtech/fuse-lottie-app