mirror of
https://github.com/zhigang1992/react-native-wechat-1.git
synced 2026-01-12 17:43:04 +08:00
22 lines
487 B
Objective-C
22 lines
487 B
Objective-C
#if __has_include(<React/RCTBridgeModule.h>)
|
|
#import <React/RCTBridgeModule.h>
|
|
#else
|
|
#import "RCTBridgeModule.h"
|
|
#endif
|
|
#if __has_include(<React/RCTEventEmitter.h>)
|
|
#import <React/RCTEventEmitter.h>
|
|
#else
|
|
#import "RCTEventEmitter.h"
|
|
#endif
|
|
|
|
#import "WXApi.h"
|
|
#import "WXApiRequestHandler.h"
|
|
|
|
#define RNWechatEventName @"RNWechatEvent"
|
|
|
|
static NSString *const kOpenURLNotification = @"RCTOpenURLNotification";
|
|
|
|
@interface RNWechat : RCTEventEmitter <RCTBridgeModule, WXApiDelegate>
|
|
|
|
@end
|