airbnb / lottie-ios

An iOS library to natively render After Effects vector animations
http://airbnb.io/lottie/
Apache License 2.0
25.76k stars 3.75k forks source link

Unable to download lottie from network source #2206

Closed ajaychoudhary12 closed 1 year ago

ajaychoudhary12 commented 1 year ago

Which Version of Lottie are you using?

Lottie 4.3.2

Expected Behavior

The lottie should load up and play when fetched over a network

Actual Behavior

The lottie doesn't show up, seems it's not downloading

Animation JSON

Here is the lottie url- https://www.jsonkeeper.com/b/QFW5

lottie-downloader.zip

calda commented 1 year ago

What is the expected behavior of the sample project you shared? When I build / run it, I see an animation download and play successfully:

Screenshot 2023-10-06 at 9 03 12 AM
calda commented 1 year ago

I see the problem -- the json file at this URL is downloaded successfully, but then fails to parse. Did this animation parse successfully in previous versions?

ajaychoudhary12 commented 1 year ago

I see the problem -- the json file at this URL is downloaded successfully, but then fails to parse. Did this animation parse successfully in previous versions?

Thanks for your response. Yes it actually was working in version 4.2.0