react-native/React
Douglas 3a3d884df2 tvOS: TV nav event emitter should check for bridge
Summary:
When running with the packager in the tvOS simulator, reloading from the packager hits an assert in `RCTEventEmitter`, causing a crash.  The solution is for `RCTTVNavigationEventEmitter` to check for the existence of the bridge before attempting to send an event.

Manual testing.

[IOS] [BUGFIX] [RCTTVNavigationEventEmitter.m] - Fix crash when reloading in tvOS
Closes https://github.com/facebook/react-native/pull/17797

Differential Revision: D7014975

Pulled By: hramos

fbshipit-source-id: 0bf766e87267ca8592ff0cc0b3cb4621a8e8f9b5
2018-02-16 14:36:56 -08:00
..
Base iOS: allow getting an instance of a js-bound module via the bridge 2018-02-13 22:38:55 -08:00
CxxBridge iOS: allow getting an instance of a js-bound module via the bridge 2018-02-13 22:38:55 -08:00
CxxModule Make RCTNativeModule::invokeInner explicitely return folly::none in case of error 2017-11-17 03:17:20 -08:00
CxxUtils More efficient dynamic->NSString conversion. 2017-07-26 18:31:12 -07:00
DevSupport Update DevLoadingView to Support iPhone X 2018-02-11 22:49:21 -08:00
Fabric iOS: allow getting an instance of a js-bound module via the bridge 2018-02-13 22:38:55 -08:00
Inspector Forward VM version to inspector 2018-02-13 08:16:50 -08:00
Modules tvOS: TV nav event emitter should check for bridge 2018-02-16 14:36:56 -08:00
Profiler Bunch of utility funcs were moved to RCTUIManagerUtils 2017-09-26 14:08:28 -07:00
React.xcodeproj Reimagining of RCTShadowView layout API 2018-02-12 00:32:43 -08:00
UIUtils Migrate DeviceInfoModule from RN Module to Native Function. 2018-01-29 11:18:42 -08:00
Views Disable font scaling when an explicit font handler is set 2018-02-16 12:37:51 -08:00
third-party.xcconfig More attempts to fix Travis CI runs 2017-05-10 04:32:54 -07:00