Questions tagged [lottie]

Questions regarding Airbnb's Lottie, a library for rendering After Effects animations in real-time. Use this tag for questions regarding implementations using the Android, iOS, or React-based branches of Lottie.

Lottie allows adding animation to any native app.

Lottie is an iOS, Android, and React Native library that renders After Effects animations in real time, allowing apps to use animations as easily as they use static images.

Site: https://airbnb.design/lottie/

836 questions
0
votes
2 answers

Play a Lottie / Bodymovin animation on scroll on an HTML web page

I have been searching multiple forums looking for a solution to this problem- I am trying to code multiple lottie animations to play when each animation enters the browser window on an HTML web page. Does anyone have a working solution? I have tried…
Jaron Johnston
  • 1
  • 1
  • 1
  • 1
0
votes
0 answers

Xamarin forms - lottie animations

I'm a beginner with Lottie, and I have a basic question: I have a band which provides my app information about the heart rate of the user in the BPM unit. I had downloaded from lottiefiles.com a JSON file of heart animation which shows exactly what…
MrSonic
  • 363
  • 3
  • 10
0
votes
2 answers

recyclerView scrolls with lag

I have a recyclerView with match parent items. In recyclerView item, I have 48 relative layouts and a background and it scrolls without any problems. Since I added lottie animationView in items, recyclerView scrolls but with lag. I tried to change…
0
votes
0 answers

Exporting with Bodymovin does not work as expected

I am a newbie to After Effect CC 2018, I have composition which consists of 3 animated video and 1 texture. Then, I export it as JSON using bodymovin extension. Then, I upload the json to lottiefiles.com for Preview, but only the texture display,…
0
votes
2 answers

Lottie AnimationView Not working in iOS but is working in Android c# Implementation

When attempting to play an animation on Android the animation displays and plays correctly, however, on iOS the animation does not display. When calling element.IsPlaying we get the return value of true. Lottie is correctly configured across both…
koharuai
  • 43
  • 1
  • 6
0
votes
2 answers

How can I pass JSON animation file from Internal Storage instead of the Assets folder?

How can I pass JSON animation file from Internal Storage instead of Assets folder in Lottie animation view?
Amin Pinjari
  • 2,129
  • 3
  • 25
  • 53
0
votes
1 answer

Lottie animationView isn't playing in XamarinForms after I change the source

When I try to change the source of an animationview to simulate play-stop solution, the source of the animationview is changed successfully, but when I click for the second time, it doesn't play the animation. Here is my code: private void…
0
votes
1 answer

Lottie animations compile not working - why?

I want to make a small test in android and lottie, so I created a new project in android studio, added this line to the dependencies: compile 'com.airbnb.android:lottie:2.8.0' but I get this error: Manifest merger failed : Attribute…
TheDragoner
  • 273
  • 2
  • 6
  • 17
0
votes
2 answers

Lottie UWP support

I was trying around with Lottie for Xamarin.Forms on iOS and UWP and now I am totally confused. Because my UWP App doesn't show the animations, i searched a little and found out, that UWP is not supported by Lottie. But because the Nuget is…
DirtyNative
  • 2,553
  • 2
  • 33
  • 58
0
votes
2 answers

Lottie with DialogFragment background problem

im using a Lottie Library to give some animation to my app. Im testing a simple loading example with a DialogFragment, but the background color of dialog is white and im need that color to be invisible. Activity: public class MainActivity extends…
Flávio Costa
  • 895
  • 5
  • 18
  • 41
0
votes
2 answers

Lottie with user interaction on iOS

In my iOS app I have lottie animation, which is on the whole screen. During animation user interactions are not available. I want to make everything under animation active to user interaction (scroll, buttons, etc.) Is there any chance to do…
Kamillpg
  • 1,303
  • 1
  • 9
  • 9
0
votes
3 answers

Lottie Animation in fabricjs canvas

Is it possible to load the Lottie animation in fabricjs canvas I have tried the following samples bodymovin.loadAnimation({ wrapper: animateElement, // div element loop: true, animType: 'canvas', …
0
votes
1 answer

React Native Lottie not executing in iOS

I have the following problem in terminal after the 'react-native run-ios'. The following build commands failed: CompileC…
0
votes
1 answer

java.io.IOException Error in Android studio when using the Lottie files

apply plugin: 'com.android.application' android { compileSdkVersion 26 defaultConfig { applicationId "com.mashitha.smartwaterbottle" minSdkVersion 19 targetSdkVersion 26 versionCode 1 versionName…
0
votes
0 answers

detox - assembleAndroidTest Error

I am using Detox and iOS runs normally, Android is getting an error when you type the following command. From Lottie-react-natve "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType = debug && cd .." "lottie-react-native": You…
OM62DwC76p
  • 121
  • 2
  • 9