“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 …

    screen-shot-2016-11-28-at-21-38-51
  3. select ‘node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj’

    screen-shot-2016-11-28-at-21-40-48
  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

    screen-shot-2016-11-28-at-21-44-43
  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

Protected by WP Anti Spam