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:
Pieter De Baets 2017-08-09 06:58:03 -07:00 committed by Facebook Github Bot
parent f06d992964
commit 39eb6c5053
1 changed files with 7 additions and 5 deletions

View File

@ -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
}