15. My animation has a low playback performance
As mobile operating systems evolve, they use different graphic rendering techniques. Lottie adapts to those changes by releasing new versions periodically that improve the performance of the animations rendered. It's important to always use the latest version of lottie-react-native
because it may contain performance improvements based on the latest rendering engines for Android and iOS devices.
React Native also offers an out-of-the-box performance improvement for the animated API by accepting the useNativeDriver
parameter, which leverages the native capabilities of some UI components. Using this parameter may help when using Animated
combined with lottie-react-native
.
If you want to ensure that you are using the latest version of lottie-react-native
, make sure you check the README documentation in the lottie-react-native
repository, following its installation guidelines.