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 forsetMinFrame/Progress
,setMaxFrame/Progress
andsetMinAndMaxFrame/Progress
followed by an explicit call toplayAnimation
orresumeAnimation
. reverseAnimation
andresumeReverseAnimation
apis have been removed in favor ofplay
andresume
withspeed
< 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.
- ๐ Animator fixes: