Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Included NativeAnimation module on iOS in the starter project
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 #10783 Differential Revision: D4159386 Pulled By: mkonicek fbshipit-source-id: 993481a31b4446eab24ef4ee35ae1941d7a7aae9
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters