Skip to content

Commit

Permalink
Update ReactNativeTvosController.h
Browse files Browse the repository at this point in the history
  • Loading branch information
ruen89 authored Aug 7, 2018
1 parent 8964b46 commit 2ed5a72
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
//#import <React/RCTBridgeModule.h>
//#import <React/RCTEventEmitter.h>

#if __has_include(<React/RCTBridgeModule.h>)
#import <React/RCTBridgeModule.h>
#else
#import "RCTBridgeModule.h"
#endif
#import "RCTEventEmitter.h"

@interface ReactNativeTvosController : RCTEventEmitter <RCTBridgeModule, UIGestureRecognizerDelegate>
Expand Down

1 comment on commit 2ed5a72

@ruen89
Copy link
Author

@ruen89 ruen89 commented on 2ed5a72 Aug 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forked the original repo and added this if-statement to the import so the Xcode project doesn't break at build:

relevant links:
facebook/react-native#15775
zoontek/react-native-permissions#137

Please sign in to comment.