1

I am using lottie-react-native and it's not working properly.

"lottie-ios": "3.1.3",
"lottie-react-native": "^3.3.2",
"react": "16.9.0",
"react-native": "0.61.5",

The lottie should works like this:

https://i.imgur.com/MgTJtUw.mp4

But it's working like this: https://i.imgur.com/dk3YUCR.mp4

As you can see it's not bouncing several times. It drops like stone.

TylerH
  • 20,799
  • 66
  • 75
  • 101
Shing Ho Tan
  • 931
  • 11
  • 30
  • We need to see your code. Please add a [mcve] or your question risks being closed as off-topic. – TylerH Oct 01 '21 at 15:53

1 Answers1

0

resolved this issue by updating the versions and Podfile.

"react": "16.9.0",
"react-native": "0.61.2",
"lottie-react-native": "^3.2.1",
"lottie-ios": "^3.1.3",

added use_frameworks! to Podfile in ios folder

Or

used this with react-native-animated-loader 

"react": "16.9.0",
"react-native": "0.61.5",
"lottie-react-native": "^3.3.2",
"lottie-ios": "^3.1.3",
"react-native-animated-loader": "^0.0.8"

Added use_frameworks! into Podfile in IOS folder as well

Nishant Gupta
  • 457
  • 3
  • 16