mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-05-14 02:14:52 +08:00
Fix compilation error when installed by CocoaPods in Swift projects (#627)
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
#if __has_include("RCTEventEmitter.h")
|
||||
#import "RCTEventEmitter.h"
|
||||
#else
|
||||
#import "React/RCTEventEmitter.h" // Required when used as a Pod in a Swift project
|
||||
#endif
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface CodePush : RCTEventEmitter
|
||||
|
||||
Reference in New Issue
Block a user