“Animated: ‘useNativeDriver’ is not supported” Error Solution

Message : Animated: ‘useNativeDriver’ is not supported because the native animation module is missing.
Falling back to JS-based animation.
To resolve this , add ‘RCTAnimation’ module to this app,or remove ‘useNativeDriver’
  1. Open project with xCode
  2. Go to Libraries > Add Files to …

  3. select ‘node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj’

  4. click on your project name on top of project navigator and go to Build Phrases tab
  5. drag and drop libRCTAnimation.a to Link Binary With Libraries

  6. Clean and Build there will be no warning

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir