Lottie for Android, iOS, and React Native v3.4.1 Release Notes

Release Date: 2020-06-05 // about 1 month ago
  • 🔋 Feature and Improvements

    • ➕ Added a KeyPath.COMPOSITION constant to set dynamic properties on the animation's root composition layer (#1559).
    • 💅 A default style can now be set for all AnimationViews with lottieAnimationViewStyle (#1524).

Previous changes from v3.4.0

  • 🔋 Features and Improvements

    • ➕ Added optional cache key parameters to url loading to enable skipping the cache.
    • ➕ Added the ability to clear the Lottie cache via LottieCompositionFactory.clearCache().

    🐛 Bugs Fixed

    • Properly pass in progress to ValueCallbacks.
    • Clear existing ValueCallbacks if new ones overwrite old ones.
    • Clip interpolators that might loop back on themself to render something very close rather than crashing.
    • 🛠 Fix time stretch + time remap when there is a start offset.
    • Ensure that the first frame is rendered when a new composition is set even if it is not yet playing.
    • Properly render Telegram stickers that use [0,1] for color but [0,255] for alpha.
    • ⚡️ Ensure that LottieDrawable has the correct bounds when the composition updates before Marshmallow.
    • Fully clear off screen buffers pre-pie to prevent artifacts.
    • Play, not resume animations if they are played while not shown.