Fix podspec test
Summary: Travis-CI Closes https://github.com/facebook/react-native/pull/15428 Differential Revision: D5592214 Pulled By: javache fbshipit-source-id: f006976d7183d845201c001be51d1546c9c31c5a
This commit is contained in:
parent
f06d992964
commit
39eb6c5053
|
@ -22,7 +22,9 @@
|
|||
#import "RCTView.h"
|
||||
#import "UIView+React.h"
|
||||
|
||||
#if __has_include("RCTDevMenu.h")
|
||||
#import "RCTDevMenu.h"
|
||||
#endif
|
||||
|
||||
@implementation RCTTVRemoteHandler {
|
||||
NSMutableArray<UIGestureRecognizer *> *_tvRemoteGestureRecognizers;
|
||||
|
@ -114,8 +116,8 @@
|
|||
{
|
||||
[self sendAppleTVEvent:@"longPlayPause" toView:r.view];
|
||||
|
||||
#if __has_include("RCTDevMenu.h") && RCT_DEV
|
||||
// If shake to show is enabled on device, use long play/pause event to show dev menu
|
||||
#if RCT_DEV
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:RCTShowDevMenuNotification object:nil];
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue