Browse files

Import RCTTVRemoteHandler only on tvOS

Fix issue #17027 (`RCTModalHostView` has a tvOS dependency that was not wrapped in `TARGET_OS_TV`)

Existing test automation should pass.

[GENERAL] [BUGFIX] [tvOS] Fix cocoapods compile issue in RCTModalHostView
Closes #17502

Differential Revision: D6688166

Pulled By: hramos

fbshipit-source-id: 38297f439f75a8303f59f83b92e004c6c73d9bf6
  • Loading branch information...
dlowder-salesforce authored and facebook-github-bot committed Jan 9, 2018
1 parent b2848a5 commit 3bd89867d6f23547f07b9b3a569d5a62971004f6
Showing with 2 additions and 0 deletions.
  1. +2 −0 React/Views/RCTModalHostView.m
@@ -18,7 +18,9 @@
#import "RCTUIManager.h"
#import "RCTUtils.h"
#import "UIView+React.h"
#import "RCTTVRemoteHandler.h"
@implementation RCTModalHostView

0 comments on commit 3bd8986

Please sign in to comment.