commit | author | age
|
dcdc07
|
1 |
// |
W |
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;//热更新模块 |
aea85e
|
22 |
extern NSString *const WA_MODULE_PUSH;//消息推送模块 |
H |
23 |
extern NSString *const WA_MODULE_AD; //广告模块 |
4bd26c
|
24 |
extern NSString *const WA_MODULE_CSC;//客服系统 |
dbf535
|
25 |
extern NSString *const WA_MODULE_ADMOB;//admob广告系统 |
dcdc07
|
26 |
|
W |
27 |
extern NSString *const WA_PLATFORM_FACEBOOK; |
|
28 |
extern NSString *const WA_PLATFORM_APPLE; |
|
29 |
extern NSString *const WA_PLATFORM_APPSFLYER; |
|
30 |
extern NSString *const WA_PLATFORM_CHARTBOOST; |
|
31 |
extern NSString *const WA_PLATFORM_WEBPAY; |
|
32 |
extern NSString *const WA_PLATFORM_WINGA; |
|
33 |
extern NSString *const WA_PLATFORM_BOACOMPRA; |
|
34 |
extern NSString *const WA_PLATFORM_VK; |
|
35 |
extern NSString *const WA_PLATFORM_WECHAT; |
1ac090
|
36 |
extern NSString *const WA_PLATFORM_QQ; |
L |
37 |
extern NSString *const WA_PLATFORM_SIGNINWITHAPPLE; |
979f7c
|
38 |
extern NSString *const WA_PLATFORM_FIREBASE; |
1ac090
|
39 |
|
248d1a
|
40 |
// weblogin |
L |
41 |
extern NSString *const WA_PLATFORM_WEBLOGIN; |
|
42 |
extern NSString *const WA_PLATFORM_GHG; |
|
43 |
extern NSString *const WA_PLATFORM_R2; |
|
44 |
|
|
45 |
|
1ac090
|
46 |
|
L |
47 |
|
|
48 |
extern NSString *const WA_PLATFORM_QQ_CN_NAME; |
|
49 |
extern NSString *const WA_PLATFORM_SIGNINWITHAPPLE_CN_NAME; |
|
50 |
extern NSString *const WA_PLATFORM_WECHAT_CN_NAME; |
|
51 |
extern NSString *const WA_PLATFORM_WINGA_CN_NAME; |
|
52 |
extern NSString *const WA_CONSTANT_GUEST_CN_NAME; |
|
53 |
|
|
54 |
|
f8a872
|
55 |
extern NSString *const WA_PLATFORM_APPSELFLOGIN; |
1ac090
|
56 |
|
L |
57 |
|
cf3302
|
58 |
extern NSString *const WA_PLATFORM_HUP; |
H |
59 |
extern NSString *const WA_PLATFORM_APW; |
537198
|
60 |
extern NSString *const WA_PLATFORM_PUSH; |
1417b8
|
61 |
extern NSString *const WA_PLATFORM_TWITTER; |
H |
62 |
extern NSString *const WA_PLATFORM_INSTAGRAM; |
4bd26c
|
63 |
extern NSString *const WA_PLATFORM_AIHELP; |
dcdc07
|
64 |
|
W |
65 |
|
|
66 |
extern NSString *const WA_CONSTANT_GUEST; |
|
67 |
|
|
68 |
|
|
69 |
|
|
70 |
extern NSString *const WA_XML_NODE_CONFIG; |
|
71 |
extern NSString *const WA_XML_NODE_VERSION; |
|
72 |
extern NSString *const WA_XML_NODE_SUPPORTS; |
|
73 |
extern NSString *const WA_XML_NODE_COMP; |
|
74 |
|
|
75 |
extern NSString *const WA_XML_ATTRIBUTE_KEY_VAL; |
|
76 |
extern NSString *const WA_XML_ATTRIBUTE_KEY_MODULE; |
|
77 |
extern NSString *const WA_XML_ATTRIBUTE_KEY_PLAF; |
|
78 |
extern NSString *const WA_XML_ATTRIBUTE_KEY_VALUE; |
|
79 |
extern NSString *const WA_XML_ATTRIBUTE_KEY_DESC; |
|
80 |
|
|
81 |
//登录流程 |
|
82 |
extern const int WA_LOGIN_FLOW_TYPE_DEFAULT; |
|
83 |
extern const int WA_LOGIN_FLOW_TYPE_REBIND; |
|
84 |
|
|
85 |
//facebook permission |
|
86 |
extern NSString *const WA_FB_PERMISSION_PUBLIC_PROFILE; |
|
87 |
extern NSString *const WA_FB_PERMISSION_PUBLISH_ACTIONS; |
|
88 |
extern NSString *const WA_FB_PERMISSION_USER_FRIENDS; |
|
89 |
extern NSString *const WA_FB_PERMISSION_EMAIL; |
|
90 |
|
|
91 |
|
|
92 |
//facebook action type |
|
93 |
extern NSString *const WA_FB_ACTION_TYPE_NONE; |
|
94 |
extern NSString *const WA_FB_ACTION_TYPE_SEND; |
|
95 |
extern NSString *const WA_FB_ACTION_TYPE_ASKFOR; |
|
96 |
extern NSString *const WA_FB_ACTION_TYPE_INVITE; |
|
97 |
|
|
98 |
extern NSString *const WA_REQUEST_TYPE_SEND; |
|
99 |
extern NSString *const WA_REQUEST_TYPE_ASKFOR; |
|
100 |
extern NSString *const WA_REQUEST_TYPE_INVITE; |
|
101 |
extern NSString *const WA_REQUEST_TYPE_REQUEST; |
|
102 |
|
|
103 |
|
|
104 |
extern NSString *const WA_APPLE_IAPResultNotification; |
|
105 |
|
|
106 |
//下面四个通知分别是绑定成功、绑定失败、解绑成功、解绑失败。当绑定有结果之后(无论成功失败),将回传一个WABindingResult实例。当解绑有结果(无论成功失败),将回传一个WAAccount实例。 |
|
107 |
extern NSString *const WABindDidSucceedNotification;//绑定成功 |
|
108 |
extern NSString *const WABindDidFailNotification;//绑定失败 |
|
109 |
extern NSString *const WAUnbindDidSucceedNotification;//解绑成功 |
|
110 |
extern NSString *const WAUnbindDidFailNotification;//解绑失败 |
|
111 |
|
|
112 |
// SDK类型 |
|
113 |
extern const int WA_SDK_TYPE_FR; // 国外 |
|
114 |
extern const int WA_SDK_TYPE_CN; // 国内 |
|
115 |
|
1ac090
|
116 |
|
L |
117 |
// qq登录通知 |
|
118 |
extern NSString *const WAQQLoginSuccessedNSNotification; |
|
119 |
extern NSString *const WAQQkLoginFailedNSNotificationName; |
|
120 |
extern NSString *const WAQQkLoginCancelledNSNotificationName; |
|
121 |
extern NSString *const WAQQkGetUnionIDNSNotificationName; |
|
122 |
extern NSString *const WAQQkLogoutSuccessedNSNotificationName; |
|
123 |
|
|
124 |
|
|
125 |
|
79188b
|
126 |
//隐私协议地址 |
L |
127 |
extern NSString *const WAPrivacyAgreementURL_UserAgreement; //用户协议 |
|
128 |
extern NSString *const WAPrivacyAgreementURL_PrivacyPolicy; //隐私地址 |
|
129 |
extern NSString *const WAPrivacyAgreementURL_ChildrenPrivacyPolicy; //儿童隐私协议 |
|
130 |
|
|
131 |
|
2174b5
|
132 |
extern NSString *const deleteAccountProtocolURL_EN; //账号删除协议 |
L |
133 |
extern NSString *const deleteAccountProtocolURL_CN; //账号删除协议 |
|
134 |
|
|
135 |
//账号删除有关 |
|
136 |
extern const int WA_ACCOUNT_DELETE_UI_CANCEL; |
|
137 |
extern const int WA_ACCOUNT_DELETE_UI_SUCCESS; |
|
138 |
extern const int WA_ACCOUNT_DELETE_UI_FAILURE; //调用失败,未开启删除权限或者未登录 |
|
139 |
|
|
140 |
|
1ac090
|
141 |
|
dcdc07
|
142 |
@interface WAConstants : NSObject { |
W |
143 |
|
|
144 |
} |
|
145 |
#endif |
|
146 |
@end |