commit | author | age
|
d1f6ab
|
1 |
// |
H |
2 |
// GHWConstants.h |
|
3 |
// GHWSdk |
|
4 |
// |
|
5 |
// Created by GHW-T-01 on 15/5/21. |
|
6 |
// Copyright (c) 2015年 Wuyx. All rights reserved. |
|
7 |
// |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
|
|
11 |
#ifndef WA_Constants_h |
|
12 |
#define WA_Constants_h |
|
13 |
|
|
14 |
|
|
15 |
extern NSString *const WA_MODULE_USR;//用户模块 |
|
16 |
extern NSString *const WA_MODULE_PAY;//支付模块 |
|
17 |
extern NSString *const WA_MODULE_TRA;//数据收集模块 |
|
18 |
extern NSString *const WA_MODULE_SOC;//社交模块 |
|
19 |
extern NSString *const WA_MODULE_APW;//应用墙模块 |
|
20 |
extern NSString *const WA_MODULE_CORE;//公共模块 |
|
21 |
extern NSString *const WA_MODULE_HUP;//热更新模块 |
45b3f1
|
22 |
extern NSString *const WA_MODULE_PUSH;//消息推送模块 |
H |
23 |
extern NSString *const WA_MODULE_AD; //广告模块 |
|
24 |
extern NSString *const WA_MODULE_CSC;//客服系统 |
d1f6ab
|
25 |
|
H |
26 |
extern NSString *const WA_PLATFORM_FACEBOOK; |
|
27 |
extern NSString *const WA_PLATFORM_APPLE; |
|
28 |
extern NSString *const WA_PLATFORM_APPSFLYER; |
|
29 |
extern NSString *const WA_PLATFORM_CHARTBOOST; |
45b3f1
|
30 |
extern NSString *const WA_PLATFORM_WEBPAY; |
d1f6ab
|
31 |
extern NSString *const WA_PLATFORM_WINGA; |
H |
32 |
extern NSString *const WA_PLATFORM_BOACOMPRA; |
|
33 |
extern NSString *const WA_PLATFORM_VK; |
|
34 |
extern NSString *const WA_PLATFORM_WECHAT; |
b11815
|
35 |
extern NSString *const WA_PLATFORM_QQ; |
L |
36 |
extern NSString *const WA_PLATFORM_SIGNINWITHAPPLE; |
0dfc8c
|
37 |
extern NSString *const WA_PLATFORM_FIREBASE; |
b11815
|
38 |
|
2457d9
|
39 |
// weblogin |
L |
40 |
extern NSString *const WA_PLATFORM_WEBLOGIN; |
|
41 |
extern NSString *const WA_PLATFORM_GHG; |
|
42 |
extern NSString *const WA_PLATFORM_R2; |
|
43 |
|
|
44 |
|
b11815
|
45 |
|
L |
46 |
|
|
47 |
extern NSString *const WA_PLATFORM_QQ_CN_NAME; |
|
48 |
extern NSString *const WA_PLATFORM_SIGNINWITHAPPLE_CN_NAME; |
|
49 |
extern NSString *const WA_PLATFORM_WECHAT_CN_NAME; |
|
50 |
extern NSString *const WA_PLATFORM_WINGA_CN_NAME; |
d560f4
|
51 |
extern NSString *const WA_CONSTANT_GUEST_CN_NAME; |
b11815
|
52 |
|
L |
53 |
|
e0f1c2
|
54 |
extern NSString *const WA_PLATFORM_APPSELFLOGIN; |
b11815
|
55 |
|
L |
56 |
|
d0b2df
|
57 |
extern NSString *const WA_PLATFORM_HUP; |
H |
58 |
extern NSString *const WA_PLATFORM_APW; |
47f8fd
|
59 |
extern NSString *const WA_PLATFORM_PUSH; |
H |
60 |
extern NSString *const WA_PLATFORM_TWITTER; |
|
61 |
extern NSString *const WA_PLATFORM_INSTAGRAM; |
45b3f1
|
62 |
extern NSString *const WA_PLATFORM_AIHELP; |
d1f6ab
|
63 |
|
H |
64 |
|
|
65 |
extern NSString *const WA_CONSTANT_GUEST; |
|
66 |
|
|
67 |
|
|
68 |
|
|
69 |
extern NSString *const WA_XML_NODE_CONFIG; |
|
70 |
extern NSString *const WA_XML_NODE_VERSION; |
|
71 |
extern NSString *const WA_XML_NODE_SUPPORTS; |
|
72 |
extern NSString *const WA_XML_NODE_COMP; |
|
73 |
|
|
74 |
extern NSString *const WA_XML_ATTRIBUTE_KEY_VAL; |
|
75 |
extern NSString *const WA_XML_ATTRIBUTE_KEY_MODULE; |
|
76 |
extern NSString *const WA_XML_ATTRIBUTE_KEY_PLAF; |
|
77 |
extern NSString *const WA_XML_ATTRIBUTE_KEY_VALUE; |
|
78 |
extern NSString *const WA_XML_ATTRIBUTE_KEY_DESC; |
|
79 |
|
|
80 |
//登录流程 |
|
81 |
extern const int WA_LOGIN_FLOW_TYPE_DEFAULT; |
|
82 |
extern const int WA_LOGIN_FLOW_TYPE_REBIND; |
|
83 |
|
|
84 |
//facebook permission |
|
85 |
extern NSString *const WA_FB_PERMISSION_PUBLIC_PROFILE; |
|
86 |
extern NSString *const WA_FB_PERMISSION_PUBLISH_ACTIONS; |
|
87 |
extern NSString *const WA_FB_PERMISSION_USER_FRIENDS; |
|
88 |
extern NSString *const WA_FB_PERMISSION_EMAIL; |
|
89 |
|
|
90 |
|
|
91 |
//facebook action type |
|
92 |
extern NSString *const WA_FB_ACTION_TYPE_NONE; |
|
93 |
extern NSString *const WA_FB_ACTION_TYPE_SEND; |
|
94 |
extern NSString *const WA_FB_ACTION_TYPE_ASKFOR; |
|
95 |
extern NSString *const WA_FB_ACTION_TYPE_INVITE; |
|
96 |
|
|
97 |
extern NSString *const WA_REQUEST_TYPE_SEND; |
|
98 |
extern NSString *const WA_REQUEST_TYPE_ASKFOR; |
|
99 |
extern NSString *const WA_REQUEST_TYPE_INVITE; |
|
100 |
extern NSString *const WA_REQUEST_TYPE_REQUEST; |
|
101 |
|
|
102 |
|
|
103 |
extern NSString *const WA_APPLE_IAPResultNotification; |
|
104 |
|
|
105 |
//下面四个通知分别是绑定成功、绑定失败、解绑成功、解绑失败。当绑定有结果之后(无论成功失败),将回传一个WABindingResult实例。当解绑有结果(无论成功失败),将回传一个WAAccount实例。 |
|
106 |
extern NSString *const WABindDidSucceedNotification;//绑定成功 |
|
107 |
extern NSString *const WABindDidFailNotification;//绑定失败 |
|
108 |
extern NSString *const WAUnbindDidSucceedNotification;//解绑成功 |
|
109 |
extern NSString *const WAUnbindDidFailNotification;//解绑失败 |
|
110 |
|
|
111 |
// SDK类型 |
|
112 |
extern const int WA_SDK_TYPE_FR; // 国外 |
|
113 |
extern const int WA_SDK_TYPE_CN; // 国内 |
|
114 |
|
b11815
|
115 |
|
L |
116 |
// qq登录通知 |
|
117 |
extern NSString *const WAQQLoginSuccessedNSNotification; |
|
118 |
extern NSString *const WAQQkLoginFailedNSNotificationName; |
|
119 |
extern NSString *const WAQQkLoginCancelledNSNotificationName; |
|
120 |
extern NSString *const WAQQkGetUnionIDNSNotificationName; |
|
121 |
extern NSString *const WAQQkLogoutSuccessedNSNotificationName; |
|
122 |
|
|
123 |
|
|
124 |
|
3a96ff
|
125 |
//隐私协议地址 |
L |
126 |
extern NSString *const WAPrivacyAgreementURL_UserAgreement; //用户协议 |
|
127 |
extern NSString *const WAPrivacyAgreementURL_PrivacyPolicy; //隐私地址 |
|
128 |
extern NSString *const WAPrivacyAgreementURL_ChildrenPrivacyPolicy; //儿童隐私协议 |
|
129 |
|
|
130 |
|
077804
|
131 |
extern NSString *const deleteAccountProtocolURL_EN; //账号删除协议 |
L |
132 |
extern NSString *const deleteAccountProtocolURL_CN; //账号删除协议 |
|
133 |
|
|
134 |
//账号删除有关 |
|
135 |
extern const int WA_ACCOUNT_DELETE_UI_CANCEL; |
|
136 |
extern const int WA_ACCOUNT_DELETE_UI_SUCCESS; |
|
137 |
extern const int WA_ACCOUNT_DELETE_UI_FAILURE; //调用失败,未开启删除权限或者未登录 |
|
138 |
|
|
139 |
|
b11815
|
140 |
|
d1f6ab
|
141 |
@interface WAConstants : NSObject { |
H |
142 |
|
|
143 |
} |
|
144 |
#endif |
|
145 |
@end |