react-native-macos/React/Views/SafeAreaView
zhongwuzw f75d47c915 Fixes SafeAreaView when set emulateUnlessSupported on safeArea supported devices (#24615)
Summary:
On safeArea supported devices like `iPhoneX`, we need to forbid invalidate `safeAreaInsets` when set `emulateUnlessSupported` prop, otherwise `SafeAreaView` would broken.

cc. cpojer shergin .

Before:
![before](https://user-images.githubusercontent.com/5061845/56792861-33088180-683d-11e9-8183-a1c8a5c9cb37.gif)

After:
![after](https://user-images.githubusercontent.com/5061845/56792867-38fe6280-683d-11e9-9b4d-01848b42a9b0.gif)

[iOS] [Fixed] - Fixes SafeAreaView when set emulateUnlessSupported on safeArea supported devices
Pull Request resolved: https://github.com/facebook/react-native/pull/24615

Differential Revision: D15122211

Pulled By: cpojer

fbshipit-source-id: 8a1c3f2aedbde707d8d6c8f36c97e6424585dc59
2019-04-29 10:02:58 -07:00
..
RCTSafeAreaShadowView.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTSafeAreaShadowView.m Fix 50 xcode warnings (#23553) 2019-02-20 10:17:26 -08:00
RCTSafeAreaView.h SafeAreaView: A new prop `emulateUnlessSupported` that turns off the custom implementation of `safeAreaInsets` insets 2018-09-11 21:19:18 -07:00
RCTSafeAreaView.m Fixes SafeAreaView when set emulateUnlessSupported on safeArea supported devices (#24615) 2019-04-29 10:02:58 -07:00
RCTSafeAreaViewLocalData.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTSafeAreaViewLocalData.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTSafeAreaViewManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTSafeAreaViewManager.m SafeAreaView: A new prop `emulateUnlessSupported` that turns off the custom implementation of `safeAreaInsets` insets 2018-09-11 21:19:18 -07:00