react-native/Libraries
Janic Duplessis c87524e0a6 Native Animated: Prevent views driven by native animated from being optimized away
Summary:
When using native animated we don't go through the shadow thread and use the NativeViewHierachyOptimizer so we have to make sure the views won't get optimized away. Also since we are not passing certain props because they are driven by native it is possible that the view will be marked as layout only when in fact it is not.

**Test plan**
Animated a simple view that will be collapsed with native animated and reproduce the error (it's actually just an error log in logcat now and no longer a redscreen) and checked that this fixes it.

Fixes #12975
Closes https://github.com/facebook/react-native/pull/12983

Differential Revision: D4811420

Pulled By: javache

fbshipit-source-id: f217f244baca64df2b76cbe08cce2d847c0dc985
2017-05-26 04:46:51 -07:00
..
ART call toString on fontWeight else throws error if passed an integer 2017-05-25 01:34:53 -07:00
ActionSheetIOS Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
AdSupport Update AdSupportIOS.js 2017-04-28 06:34:21 -07:00
Alert Export Alert's type ButtonsArray for external use 2017-03-06 12:44:47 -08:00
Animated Native Animated: Prevent views driven by native animated from being optimized away 2017-05-26 04:46:51 -07:00
AppState Fix the website build 2017-02-21 09:11:01 -08:00
BatchedBridge Add error message when calling sync methods from the Chrome debugger 2017-05-25 06:18:36 -07:00
BugReporting Patch up for future React Sync 2017-02-08 14:50:43 -08:00
CameraRoll Export an object instead of array for asset type 2017-05-04 21:49:45 -07:00
Components iOS: Introduce API for moving screen reader's focus 2017-05-26 03:19:21 -07:00
Core make systrace look more like prod 2017-05-11 15:21:27 -07:00
DebugComponentHierarchy
EventEmitter Native Animated - Restore, reorganize and add new tests 2017-03-27 11:46:05 -07:00
Experimental Fix react-native function call arity errors 2017-05-18 16:55:55 -07:00
Geolocation Exposes requestAuthorization method. 2017-05-25 07:07:50 -07:00
Image Adding supported formats to Image component docs 2017-05-24 12:18:14 -07:00
Inspector Ran PropTypes -> prop-types codemod against Libraries/FBReactKit/js/react-native-github 2017-04-12 16:15:15 -07:00
Interaction Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
JSInspector Add Network agent 2016-11-02 12:29:15 -07:00
LayoutAnimation Fix prop-types warning in LayoutAnimation 2017-05-12 15:06:17 -07:00
Linking Add newly recommended method for RCTLinkingManager due to deprecation 2017-05-25 11:31:23 -07:00
LinkingIOS Add newly recommended method for RCTLinkingManager due to deprecation 2017-05-25 11:31:23 -07:00
Lists Render section footer in <SectionList> sections with no data 2017-05-25 10:30:55 -07:00
Modal Ran PropTypes -> prop-types codemod against Libraries/FBReactKit/js/react-native-github 2017-04-12 16:15:15 -07:00
NativeAnimation Native Animated - Support Animated.loop on iOS 2017-05-26 03:30:33 -07:00
Network XMLHttpRequest withCredentials defaults to "true" 2017-05-25 11:01:14 -07:00
Performance Clean up unused metrics 2017-05-09 13:30:26 -07:00
PermissionsAndroid Include Create React Native App in Getting Started 2017-04-26 07:16:18 -07:00
PushNotificationIOS Update documentation to stop using search path and old import syntax 2017-04-28 05:56:58 -07:00
RCTTest Merge all copies of RUN_RUNLOOP_WHILE in UIExplorerUnitTests 2017-04-21 08:35:46 -07:00
ReactNative allow inspector to show if not Systrace profiling 2017-05-15 05:16:48 -07:00
Renderer Fix react-native function call arity errors 2017-05-18 16:55:55 -07:00
Sample Fix missing RCTBridgeModule.h 2017-01-31 11:13:50 -08:00
Settings Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
Share Flowify Process Color 2017-04-26 11:31:56 -07:00
Storage correctly order ASyncStorage 2017-02-21 15:18:40 -08:00
StyleSheet Add Prop type for View 2017-05-23 08:01:48 -07:00
Text Update examples in docs and address version lag of CRNA 2017-05-16 23:51:28 -07:00
Utilities Fix react-native function call arity errors 2017-05-18 16:55:55 -07:00
Vibration Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
WebSocket Added Cookie Header to XML and Websocket request 2017-05-24 09:47:37 -07:00
react-native Introducing <ImageBackground>, replacement for <Image> which supports nesting views 2017-05-24 11:30:48 -07:00
vendor Remove `copyProperties` 2017-03-21 08:01:58 -07:00
Promise.js Allow Promise to display error strings and not just error objects. 2017-03-09 14:30:57 -08:00
promiseRejectionIsError.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00