2

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 show 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.

DevLover
  • 775
  • 6
  • 24

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
  • 449
  • 3
  • 16