Skip to content

Commit

Permalink
Change import priority of RCTBridgeModule
Browse files Browse the repository at this point in the history
This appears to be the accepted fix for this issue: a7ul#46 per facebook/react-native#15775 (comment) and other posts in the same thread.
  • Loading branch information
TomMahle authored Apr 9, 2018
1 parent 3f414e1 commit 355c544
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ios/ReactNativeExceptionHandler.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

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

#import <UIKit/UIKit.h>
Expand Down

0 comments on commit 355c544

Please sign in to comment.