| | |
| | | }WAParameterType; |
| | | |
| | | //支付类型 |
| | | typedef enum WAEnumPaymentType{ |
| | | WAEnumPaymentTypeGoogle, |
| | | WAEnumPaymentTypeApple, |
| | | WAEnumPaymentTypeFree |
| | | }WAEnumPaymentType; |
| | | //typedef enum WAEnumPaymentType{ |
| | | // WAEnumPaymentTypeGoogle, |
| | | // WAEnumPaymentTypeApple, |
| | | // WAEnumPaymentTypeFree |
| | | //}WAEnumPaymentType; |
| | | |
| | | //性别 |
| | | typedef enum WAEnumGender{ |
| | |
| | | extern NSString* WAEventParameterNameCustomMethodPrefix;//自定义事件名称前缀 |
| | | |
| | | |
| | | extern NSString* WAEventParameterNameApplePayLogCustomPrefix;//苹果支付自定义事件名称前缀 |
| | | |
| | | |
| | | extern NSString *const WAEventLaunch; |
| | | extern NSString *const WAEventStartUp; |
| | | extern NSString *const WAEventCompleteRegistration; |
| | |
| | | extern NSString *const WAEventPayment; |
| | | extern NSString *const WAEventInitiatedPurchase; |
| | | extern NSString *const WAEventPurchase; |
| | | extern NSString *const WAEventHeartBeat; |
| | | extern NSString *const WAEventLevelAchieved; |
| | | extern NSString *const WAEventAddToCart; |
| | | extern NSString *const WAEventAddToWishlist; |
| | |
| | | extern NSString *const WAEventTaskUpdate; |
| | | extern NSString *const WAEventGoldUpdate; |
| | | extern NSString *const WAEventUserImport; |
| | | extern NSString *const WAEventSession; |
| | | |
| | | extern NSString *const WAEventAFTrackingInit; |
| | | |
| | | extern NSString *const WAEventInitiatedLoginWay; // 获取登录方式之前 |
| | | extern NSString *const WAEventPostLoginWay; // 获取登录方式之后 |
| | | extern NSString *const WAEventInitiatedPlatformLogin; // 进行登录之前 |
| | | extern NSString *const WAEventPostThirdPartyLogin; // 进行第三方渠道登录之后 |
| | | extern NSString *const WAEventPostWingLogin; // 进行WING平台登录之后 |
| | | |
| | | |
| | | //苹果支付事件上报打点事件名20200302 |
| | | extern NSString *const WAEventForHandTransaction; //手动消耗事件 |
| | | extern NSString *const WAEventForApplePayStateChanged; //苹果支付状态改变 |
| | | extern NSString *const WAEventForOrderCheckNoTransaction; //下单检测未消耗事件 |
| | | |
| | | |
| | | |
| | | |
| | | extern NSString *const WAEventParameterNameRegistrationMethod; |
| | | |
| | |
| | | |
| | | extern NSString *const WAEventParameterNameStartTime; |
| | | extern NSString *const WAEventParameterNameNowTime; |
| | | extern NSString *const WAEventParameterNameSessionType; |
| | | extern NSString *const WAEventParameterUnAdult; |
| | | |
| | | extern NSString *const WAEventParameterNameTransactionId; |
| | | extern NSString *const WAEventParameterNamePaymentType; |
| | |
| | | extern NSString *const WAEventParameterNameIAPId; |
| | | extern NSString *const WAEventParameterNameReceipt; |
| | | extern NSString *const WAEventParameterNameProductIdentifier; |
| | | extern NSString *const WAEventParameterNameRevenue; |
| | | |
| | | extern NSString *const WAEventParameterNameIsFirstEnter; |
| | | |
| | |
| | | extern NSString *const WAEventParameterNameCurrentAmount;//当前货币数量 |
| | | extern NSString *const WAEventParameterNameAmount;//变更货币数 |
| | | |
| | | // 获取登录方式之后 |
| | | extern NSString *const WAEventParameterNameLoginWayCount; // 登录方式个数 |
| | | |
| | | // 进行登录之前、进行第三方渠道登录之后、进行WING平台登录之后 |
| | | extern NSString *const WAEventParameterNamePlatformName; // 登录渠道名称 |
| | | extern NSString *const WAEventParameterNameLoginStatus; // 登录状态 |
| | | |
| | | //支付类型 |
| | | extern NSString *const WAValueForPaymentTypeApple; |
| | | extern NSString *const WAValueForPaymentTypeGoogle; |
| | | extern NSString *const WAValueForPaymentTypeFree; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | |
| | | +(void)autoTriggerAfterPayment:(BOOL)isAuto; |
| | | +(BOOL)getAutoTriggerAfterPayment; |
| | | +(void)checkParams:(NSDictionary*)params eventName:(NSString*)eventName; |
| | | |
| | | |
| | | /* |
| | | -2 iOS14 之前版本,无法弹出授权 |
| | | -1 没有开启idfa授权弹框 |
| | | 0 未向用户请求授权 |
| | | 1 用户在系统级别开启了限制广告追踪 |
| | | 2 用户拒绝向App授权 |
| | | 3 用户同意向App授权 |
| | | */ |
| | | +(void)openIDFAAuthorizationWithCompletionHandler:(void (^_Nullable)(int))block; |
| | | |
| | | @end |