# Lottie animation not working on Preview/LiveTest/Downloaded iOS app

**URL:** https://community.thunkable.com/t/lottie-animation-not-working-on-preview-livetest-downloaded-ios-app/949377
**Category:** Questions about Thunkable X
**Created:** [November 3, 2020, 12:17pm UTC](https://community.thunkable.com/t/lottie-animation-not-working-on-preview-livetest-downloaded-ios-app/949377 "2020-11-03T12:17:39Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![fastasarocket](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/fastasarocket/32/86537_2.png) [@fastasarocket](https://community.thunkable.com/u/fastasarocket)
#### Post date: [November 3, 2020, 12:17pm UTC](https://community.thunkable.com/t/lottie-animation-not-working-on-preview-livetest-downloaded-ios-app/949377/1 "2020-11-03T12:17:39Z")

</div>

Hi, does anyone else have an issue where their Lottie animations are working within the editor but not on the Preview/LiveTest/Downloaded iOS app? I’ve tried with multiple different lottie animations and can’t figure out why they’re not working

---

<div class="post-metadata">

### Author: ![eko.devs.apploroceo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eko.devs.apploroceo/32/93147_2.png) [@eko.devs.apploroceo](https://community.thunkable.com/u/eko.devs.apploroceo)
#### Post date: [November 3, 2020, 2:14pm UTC](https://community.thunkable.com/t/lottie-animation-not-working-on-preview-livetest-downloaded-ios-app/949377/2 "2020-11-03T14:14:39Z")

</div>

i hope there are not too many files .  
can u send project link

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [November 3, 2020, 2:36pm UTC](https://community.thunkable.com/t/lottie-animation-not-working-on-preview-livetest-downloaded-ios-app/949377/3 "2020-11-03T14:36:15Z")

</div>

How are you selecting the Lottie animations in Thunkable? Uploaded .gif, JSON, …? I couldn’t [get JSON to work](http://community.thunkable.com/t/lottie-animation-not-working/563927/8) but I’ve had some success with uploading gifs. They show in the editor once I refresh it and they also show on an iPhone in Thunkable Live.

---

<div class="post-metadata">

### Author: ![leeristhkfpe4](https://avatars.discourse-cdn.com/v4/letter/l/4af34b/32.png) [@leeristhkfpe4](https://community.thunkable.com/u/leeristhkfpe4)
#### Post date: [March 16, 2022, 2:25pm UTC](https://community.thunkable.com/t/lottie-animation-not-working-on-preview-livetest-downloaded-ios-app/949377/4 "2022-03-16T14:25:23Z")

</div>

Just wondering if there was any progress on this. I’m trying to use Lottie animations and though they appear on Preview they don’t work in Thunkable Live or in a downloaded iOS app. They don’t crash the app, they simply don’t appear.

Here’s a very simple app which results in a blank screen on my devices.

[https://x.thunkable.com/projectPage/6231ebac8d1c22004b7b908a](https://x.thunkable.com/projectPage/6231ebac8d1c22004b7b908a)

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [March 16, 2022, 3:57pm UTC](https://community.thunkable.com/t/lottie-animation-not-working-on-preview-livetest-downloaded-ios-app/949377/5 "2022-03-16T15:57:51Z")

</div>

It works in Thunkable Live on an iPhone with a fixed size for width & height:

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/2/022896b08ed12595922194e01c2a8f50035d60e3.png)

---

<div class="post-metadata">

### Author: ![leeristhkfpe4](https://avatars.discourse-cdn.com/v4/letter/l/4af34b/32.png) [@leeristhkfpe4](https://community.thunkable.com/u/leeristhkfpe4)
#### Post date: [March 16, 2022, 8:11pm UTC](https://community.thunkable.com/t/lottie-animation-not-working-on-preview-livetest-downloaded-ios-app/949377/6 "2022-03-16T20:11:26Z")

</div>

Thanks so much for figuring this out! Sure enough, if I use absolute size or relative size the animation appears. If I use fit to contents or fill container it doesn’t!

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [March 16, 2022, 8:24pm UTC](https://community.thunkable.com/t/lottie-animation-not-working-on-preview-livetest-downloaded-ios-app/949377/7 "2022-03-16T20:24:10Z")

</div>

You’re welcome. I also submitted it as a bug:

> <https://github.com/thunkable/thunkable-issues/issues/1131>
>
> \### Platform
> Drag and Drop UI - iOS?
> 
> \### Steps to Reproduce
> 1. Live Test th…e project below in Thunkable Live in iOS
> 2. (The Animation component has Width & Height set to Fit Contents or Fill Container)
> 3.
> 
> \### Expected Behavior
> The Lottie animation should play as it does in a browser preview.
> 
> \### Actual Behavior
> The animation does not appear. It does show up if you change the width & height to absolute values (pixel amounts).
> 
> \### Project Link
> https://x.thunkable.com/projectPage/6231ebac8d1c22004b7b908a
> 
> \###Community Link
> https://community.thunkable.com/t/lottie-animation-not-working-on-preview-livetest-downloaded-ios-app/949377
> \`\`\`
> STACK TRACE AND/OR SCREENSHOTS
> \`\`\`

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 12:21pm UTC](https://community.thunkable.com/t/lottie-animation-not-working-on-preview-livetest-downloaded-ios-app/949377/8 "2024-11-08T12:21:50Z")

</div>


