Skip to content

Commit 355c544

Browse files
authored
Change import priority of RCTBridgeModule
This appears to be the accepted fix for this issue: #46 per facebook/react-native#15775 (comment) and other posts in the same thread.
1 parent 3f414e1 commit 355c544

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ios/ReactNativeExceptionHandler.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

2-
#if __has_include("RCTBridgeModule.h")
3-
#import "RCTBridgeModule.h"
4-
#else
2+
#if __has_include(<React/RCTBridgeModule.h>)
53
#import <React/RCTBridgeModule.h>
4+
#else
5+
#import "RCTBridgeModule.h"
66
#endif
77

88
#import <UIKit/UIKit.h>

0 commit comments

Comments
 (0)