mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 09:12:02 +00:00
8965f11769
Summary: Fixes #10638. Added NativeAnimation library to the starter project iOS generator. Passing `useNativeDriver: true` to `Animated` config will enable the app to tap into the native code for animations. **Test plan** Init a RN project and animate an element. Enable native driver as follows: ``` Animated.timing( this.state.value, { toValue: 300, // some value useNativeDriver: true } ).start(); ``` Earlier, this used to crash. Closes https://github.com/facebook/react-native/pull/10783 Differential Revision: D4159386 Pulled By: mkonicek fbshipit-source-id: 993481a31b4446eab24ef4ee35ae1941d7a7aae9