Lottie for Android, iOS, and React Native v2.3.0 Release Notes

  • ๐Ÿ”‹ Features and Improvements

    • ๐Ÿ›  Animator fixes:
      • Previously, some usages of lottie animator apis/api listeners would cause unexpected behavior, especially calling apis from listener callbacks.
      • This is breaking change if you use playAnimation(start, end). It has been removed in favor of explicit methods for setMinFrame/Progress, setMaxFrame/Progress and setMinAndMaxFrame/Progress followed by an explicit call to playAnimation or resumeAnimation.
      • reverseAnimation and resumeReverseAnimation apis have been removed in favor of play and resume with speed < 0.
      • If you have created hack around these limitations or complex animator chaining, please test your animations after updating.
    • Set an animation from R.raw (res/raw) if you want static references to your animation files. This can help prevent mismatches between api calls and file names. Thanks @cyrilmottier!
    • ๐Ÿ‘Œ Support for ellipse direction.
    • ๐Ÿ”ฆ Expose image directory name if set from bodymovin. ### ๐Ÿ› Bugs Fixed
    • ๐Ÿ›  Fixed a bug with animations that use both mattes and time stretch.
    • ๐Ÿ›  Fixed a few keyframe issues where keyframe start/end values would be off by 1 frame.