12. There are images missing in my animation
If you created your animation with external assets (images), you need to add those images into your app and let lottie-react-native
know where those images can be found. This is done at a native level and requires some configuration, as explained in Chapter 9, Let’s Do Some Magic: Integrating Your First Lottie Animation, in the section named Using Lottie files with assets.
Make sure that you do the following:
- Add those images into the project's folder structure.
- Configure your project in a way that makes those files accessible through code.
- Pass the
imageAssetsFolder
property to theLottieView
component with the right relative route to the folder containing those assets.