Skip to content

Commit

Permalink
conditional RCTBridgeModule import
Browse files Browse the repository at this point in the history
  • Loading branch information
aakashsigdel committed Mar 3, 2020
1 parent abac150 commit 1cc1b51
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ios/RNExitApp/RNExitApp.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#import <UIKit/UIKit.h>
#if __has_include("RCTBridgeModule.h")
#import "RCTBridgeModule.h"
#else
#import <React/RCTBridgeModule.h>
#endif



@interface RNExitApp : NSObject <RCTBridgeModule>
Expand Down

0 comments on commit 1cc1b51

Please sign in to comment.