forked from yorkie/react-native-wechat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRCTWeChat.h
37 lines (30 loc) · 967 Bytes
/
RCTWeChat.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// RCTWeChat.h
// RCTWeChat
//
// Created by Yorkie Liu on 10/16/15.
// Copyright © 2015 WeFlex. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "RCTBridgeModule.h"
#import "WXApi.h"
// define share type constants
#define RCTWXShareTypeNews @"news"
#define RCTWXShareTypeThumbImageUrl @"thumbImage"
#define RCTWXShareTypeImageUrl @"imageUrl"
#define RCTWXShareTypeImageFile @"imageFile"
#define RCTWXShareTypeImageResource @"imageResource"
#define RCTWXShareTypeText @"text"
#define RCTWXShareTypeVideo @"video"
#define RCTWXShareTypeAudio @"audio"
#define RCTWXShareTypeFile @"file"
#define RCTWXShareType @"type"
#define RCTWXShareTitle @"title"
#define RCTWXShareDescription @"description"
#define RCTWXShareWebpageUrl @"webpageUrl"
#define RCTWXShareImageUrl @"imageUrl"
#define RCTWXEventName @"WeChat_Resp"
@interface RCTWeChat : NSObject <RCTBridgeModule, WXApiDelegate>
@property NSString* appId;
@end