react-native/Libraries
Eric Vicenti f9779e3eb7 Enable native animations when possible
Summary:
The `position` animated value is used for scale, translateX, and tranlateY
animations, which are all supported by NativeAnimatedHelper. Unfortunately,
native animations are incompatible with JS driven animations, which the
`enableGestures` flag enables.

This diff therefore conditionally enables native animations based on the native
module's precense, and the state of `enableGestures`.

Ideally the animations would be refactored so that they could fully leverage
native animations, as they are far superior for navigational components.

Reviewed By: oyvindkinsey

Differential Revision: D4020977

fbshipit-source-id: 8e1d015c4d41fee103469f6f9ffa02ff4f1f5517
2016-10-19 15:28:44 -07:00
..
ART
ActionSheetIOS ActionSheetIOS - Pass URL, not file contents to UIActivityViewController for file URLs. 2016-09-06 04:43:36 -07:00
AdSupport
Alert fix typo in Alert.js 2016-10-14 08:13:55 -07:00
Animated Fixed uiexplorer legocastle starting script 2016-10-19 08:44:27 -07:00
AppState Remove deprecated APIs and modules 2016-10-11 07:43:52 -07:00
BatchedBridge Reorganize core JS files 2016-10-11 10:14:28 -07:00
BugReporting
CameraRoll Update file for Markdown link syntax 2016-10-16 15:28:42 -07:00
Components NavigatorIOS: stopPropagation on navigationComplete event. Fixes #1241 2016-10-17 10:28:41 -07:00
Core Reorganize core JS files 2016-10-11 10:14:28 -07:00
CustomComponents Enable native animations when possible 2016-10-19 15:28:44 -07:00
DebugComponentHierarchy
EventEmitter Cleanup: Remove `@typechecks` 2016-10-12 19:28:42 -07:00
Experimental Clean unused import modules. 2016-10-16 11:13:40 -07:00
Geolocation RCTLocationObserver: Fix reporting of timeout error 2016-09-21 14:28:43 -07:00
Image Moving the jest configuration from jest-react-native to react native. 2016-10-17 08:44:05 -07:00
Inspector Clean unused import modules. 2016-10-16 11:13:40 -07:00
Interaction Documentation fix: dx vs. x0 2016-10-11 08:13:39 -07:00
LayoutAnimation RN: Stop Deep Linking `ReactPropTypes` 2016-10-14 18:59:10 -07:00
Linking
LinkingIOS Remove deprecated APIs and modules 2016-10-11 07:43:52 -07:00
Modal Reverted commit D4027388 2016-10-16 04:13:42 -07:00
NativeAnimation Apple TV support 2: Xcode projects and CI (scripts/objc-test.sh) 2016-10-05 07:28:44 -07:00
NavigationExperimental Reverted commit D4027388 2016-10-16 04:13:42 -07:00
Network Moving the jest configuration from jest-react-native to react native. 2016-10-17 08:44:05 -07:00
Performance Reorganize core JS files 2016-10-11 10:14:28 -07:00
PermissionsAndroid Docs fix: remove confusing typo 2016-09-19 14:46:12 -07:00
PushNotificationIOS Travis CI reliability fixes: preload package manager and increase tim… 2016-10-16 15:43:44 -07:00
RCTTest Travis CI reliability fixes: preload package manager and increase tim… 2016-10-16 15:43:44 -07:00
ReactNative Reverted commit D4027388 2016-10-16 04:13:42 -07:00
Sample
Settings Apple TV support 2: Xcode projects and CI (scripts/objc-test.sh) 2016-10-05 07:28:44 -07:00
Share
Storage
StyleSheet RN: Stop Deep Linking `ReactPropTypes` 2016-10-14 18:59:10 -07:00
Text RN TextInput: don't let user more than maxLength when TextInput already exceeds it 2016-10-18 08:13:41 -07:00
Utilities Reorganize core JS files 2016-10-11 10:14:28 -07:00
Vibration
WebSocket ios:websocket:exectuor : Grab port from Bundle URL 2016-10-12 08:43:37 -07:00
react-native RN: Require {react/lib/ => }ReactNative 2016-10-14 18:59:10 -07:00
vendor
Promise.js
promiseRejectionIsError.js