LottieXamarin: Animations don't show in version >= 2.7.0

🐛 Bug Report

I’m testing a simple animation, just to get started.

<lottie:AnimationView 
  HorizontalOptions="FillAndExpand" 
  VerticalOptions="FillAndExpand"
  Animation="4930-checkbox-animation.json" 
  HardwareAcceleration="False"
  Loop="True"
  AutoPlay="True" />

Nothing displays at all. I did think it was the HardwareAcceleration, but setting this to False had no effect.

Version 2.6.3 is fine.

There are no errors or exceptions.

Expected behavior

Animation displays

Configuration

Samsung Galaxy S7 Edge. XF 4 pre-5 Version: 2.7.x

Platform: Android

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 26

Most upvoted comments

Still have the same problem with version 3.1.2

This has now been fixed since upgrading from 3.0.1 to 3.0.2

I’m facing the same issue. I have installed Lottie Forms 2.7.0 to my Xamarin Forms project but I can’t make animations play. There is no AnimationViewRenderer in lottie’s android library and no way to use it. Only the iOS version of the renderer is available. If I downgrade the version to 2.5.2.1 the renderer is there and after calling Init() on it, all animations work fine. I tried to reinstall the library twice with the same result. Only the older versions work. What’s wrong with the 2.7.0 version?