lottie-react-native: Android app crashes at start, RN 0.59.4
Description
App crashes when start. BTW there is no build problem.
Steps to Reproduce
Create a new project then just import the library. Finally, react-native run-android.
Versions
Lottie: 3.0.4 and 3.0.3 (i tested both) RN: 0.59.4
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 3
- Comments: 20 (2 by maintainers)
make sure that the import syntax below
Yes, i followed all instructions.
Not working on RN 0.59.10.TypeError: undefined is not an object (evaluating '_reactNative.UIManager.LottieAnimationView.Commands')I will try again. i will edit this post soon.
Edit: Not working on RN 0.59.10. App crashes at start.
It works for me. Thanks @emilioicai 👍
Same on 0.59.10 with 3.0.3:
It’s not so simple @karthiganesan90 I think…
Did you guys give a try to the _ IMPORTANT _ section in the documentation? It states what to do if your app crashes