I’m using a lottie
animation in the
.json file type on a project of mine. I noticed that this one works smooth the first time it plays/shows, but subsequent shows result in a frozen
animation. It only shows the first frame and stays frozen until
visible = false. When
visible = true, it is still frozen. I’ve linked an example project to show as simple as possible what my issue is:
I have two
Fireball just plays the sound and fire lottie.
Two Animations in one button plays the fire lottie, then switches to a delete lottie.
In both cases, I use a “empty container”
text block to sort of reset the animation so that it plays from the beginning each time the button is tapped/clicked. I don’t want a loop for this purpose as well. I also don’t want the loop filling up cache (is that how that works for lotties? would it be filling a little bit of the cache each time it loops?).
It works in Web Preview just as intended, but when I use the companion app, that is when it freezes. I also downloaded the APK onto my android A52 and it still freezes after multiple shows.
Is it a cache issue? Is there a way around this? Am I overdoing the logic blocks? I did some research in the forum but did not find documentation for my problem or solutions. Other animations work fine in other pages and projects that I have, but these are freezing.