I'm trying to implement Lottie React Native into my app, but I've been having some issues. I followed the directions to install from: https://github.com/lottie-react-native/lottie-react-native
I've imported AnimatedLottieView and included it in my app. But I keep getting this error:
Invariant Violation: requireNativeComponent: "LottieAnimationView" was not found in the UIManager.
I'm running the app on a physical iPhone 14 Pro.
When installing this lib, you need to recompile the app. If it's a react-native project, run:
$ yarn start
and then
$ yarn android or ios
yarn add [email protected]
add this so it will working fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With