41 files modified
2 files added
| | |
| | | <?xml version='1.0' encoding='UTF-8'?> |
| | | <config> |
| | | <version val="AP4.5.0" /> |
| | | <version val="AP4.6.0" /> |
| | | <comps> |
| | | |
| | | <comp module="USR" plaf="APPLE" mandatory="YES" value="WAAPUser" desc="APPLE用户账户" /> |
| | |
| | | <?xml version='1.0' encoding='UTF-8'?> |
| | | <config> |
| | | <version val="WA4.5.0" /> |
| | | <version val="WA4.6.0" /> |
| | | <comps> |
| | | |
| | | <comp module="USR" plaf="WINGA" mandatory="YES" value="WASdkUser" desc="WINGA用户账户" /> |
| | |
| | | #import <WAApImpl/WAAPUser.h> |
| | | #import <WAApImpl/WAAPLogin.h> |
| | | |
| | | //time:2025/06/25 12:29 ver:4.5.0 |
| | | //time:2025/0722 12:29 ver:4.6.0 |
| | | // 1 |
| | |
| | | #import <WAApImpl/WAAPUser.h> |
| | | #import <WAApImpl/WAAPLogin.h> |
| | | |
| | | //time:2025/06/25 12:29 ver:4.5.0 |
| | | //time:2025/0722 12:29 ver:4.6.0 |
| | | // 1 |
| | |
| | | <key>BinaryPath</key> |
| | | <string>FMDB.framework/FMDB</string> |
| | | <key>LibraryIdentifier</key> |
| | | <string>ios-arm64</string> |
| | | <key>LibraryPath</key> |
| | | <string>FMDB.framework</string> |
| | | <key>SupportedArchitectures</key> |
| | | <array> |
| | | <string>arm64</string> |
| | | </array> |
| | | <key>SupportedPlatform</key> |
| | | <string>ios</string> |
| | | </dict> |
| | | <dict> |
| | | <key>BinaryPath</key> |
| | | <string>FMDB.framework/FMDB</string> |
| | | <key>LibraryIdentifier</key> |
| | | <string>ios-x86_64-simulator</string> |
| | | <key>LibraryPath</key> |
| | | <string>FMDB.framework</string> |
| | |
| | | <string>ios</string> |
| | | <key>SupportedPlatformVariant</key> |
| | | <string>simulator</string> |
| | | </dict> |
| | | <dict> |
| | | <key>BinaryPath</key> |
| | | <string>FMDB.framework/FMDB</string> |
| | | <key>LibraryIdentifier</key> |
| | | <string>ios-arm64</string> |
| | | <key>LibraryPath</key> |
| | | <string>FMDB.framework</string> |
| | | <key>SupportedArchitectures</key> |
| | | <array> |
| | | <string>arm64</string> |
| | | </array> |
| | | <key>SupportedPlatform</key> |
| | | <string>ios</string> |
| | | </dict> |
| | | </array> |
| | | <key>CFBundlePackageType</key> |
| | |
| | | <key>BinaryPath</key> |
| | | <string>Toast.framework/Toast</string> |
| | | <key>LibraryIdentifier</key> |
| | | <string>ios-arm64</string> |
| | | <key>LibraryPath</key> |
| | | <string>Toast.framework</string> |
| | | <key>SupportedArchitectures</key> |
| | | <array> |
| | | <string>arm64</string> |
| | | </array> |
| | | <key>SupportedPlatform</key> |
| | | <string>ios</string> |
| | | </dict> |
| | | <dict> |
| | | <key>BinaryPath</key> |
| | | <string>Toast.framework/Toast</string> |
| | | <key>LibraryIdentifier</key> |
| | | <string>ios-x86_64-simulator</string> |
| | | <key>LibraryPath</key> |
| | | <string>Toast.framework</string> |
| | |
| | | <string>ios</string> |
| | | <key>SupportedPlatformVariant</key> |
| | | <string>simulator</string> |
| | | </dict> |
| | | <dict> |
| | | <key>BinaryPath</key> |
| | | <string>Toast.framework/Toast</string> |
| | | <key>LibraryIdentifier</key> |
| | | <string>ios-arm64</string> |
| | | <key>LibraryPath</key> |
| | | <string>Toast.framework</string> |
| | | <key>SupportedArchitectures</key> |
| | | <array> |
| | | <string>arm64</string> |
| | | </array> |
| | | <key>SupportedPlatform</key> |
| | | <string>ios</string> |
| | | </dict> |
| | | </array> |
| | | <key>CFBundlePackageType</key> |
| | |
| | | //46.查询待发送事件接口 |
| | | extern NSString *const WASDK_EVENT_WAIT_SEND_EVENT; |
| | | |
| | | //13.通知ghg校验玩家任务 |
| | | extern NSString *const WASDK_GHG_CHECK_PLAYER_TASK ; |
| | | //14.获取ghg广告任务 |
| | | extern NSString *const WASDK_GHG_TASKLIST ; |
| | | |
| | | extern NSString *const WASDK_NEED_PUSERID_AND_PTOKEN ; |
| | | |
| | | |
| | | extern NSString *const WASDK_FB_INVITE_FROM_USERID; |
| | |
| | | #import <WACommon/WAWebProgressView.h> |
| | | #import <WACommon/WAWebViewController.h> |
| | | |
| | | //time:2025/06/25 12:29 ver:4.5.0 |
| | | //time:2025/0722 12:29 ver:4.6.0 |
| | | // 1 |
| | |
| | | //46.查询待发送事件接口 |
| | | extern NSString *const WASDK_EVENT_WAIT_SEND_EVENT; |
| | | |
| | | //13.通知ghg校验玩家任务 |
| | | extern NSString *const WASDK_GHG_CHECK_PLAYER_TASK ; |
| | | //14.获取ghg广告任务 |
| | | extern NSString *const WASDK_GHG_TASKLIST ; |
| | | |
| | | extern NSString *const WASDK_NEED_PUSERID_AND_PTOKEN ; |
| | | |
| | | |
| | | extern NSString *const WASDK_FB_INVITE_FROM_USERID; |
| | |
| | | #import <WACommon/WAWebProgressView.h> |
| | | #import <WACommon/WAWebViewController.h> |
| | | |
| | | //time:2025/06/25 12:29 ver:4.5.0 |
| | | //time:2025/0722 12:29 ver:4.6.0 |
| | | // 1 |
| | |
| | | |
| | | #import <WASdkImpl/WASdkGTMBase64.h> |
| | | |
| | | //time:2025/06/25 12:29 ver:4.5.0 |
| | | // 3 |
| | | //time:2025/07/22 12:29 ver:4.6.0 |
| | | // 2 |
| | | |
| | | |
| | | |
| | |
| | | |
| | | #import <WASdkImpl/WASdkGTMBase64.h> |
| | | |
| | | //time:2025/06/25 12:29 ver:4.5.0 |
| | | // 3 |
| | | //time:2025/07/22 12:29 ver:4.6.0 |
| | | // 2 |
| | | |
| | | |
| | | |
| | |
| | | <key>BinaryPath</key> |
| | | <string>WASdkIntf.framework/WASdkIntf</string> |
| | | <key>LibraryIdentifier</key> |
| | | <string>ios-arm64</string> |
| | | <key>LibraryPath</key> |
| | | <string>WASdkIntf.framework</string> |
| | | <key>SupportedArchitectures</key> |
| | | <array> |
| | | <string>arm64</string> |
| | | </array> |
| | | <key>SupportedPlatform</key> |
| | | <string>ios</string> |
| | | </dict> |
| | | <dict> |
| | | <key>BinaryPath</key> |
| | | <string>WASdkIntf.framework/WASdkIntf</string> |
| | | <key>LibraryIdentifier</key> |
| | | <string>ios-x86_64-simulator</string> |
| | | <key>LibraryPath</key> |
| | | <string>WASdkIntf.framework</string> |
| | |
| | | <key>SupportedPlatformVariant</key> |
| | | <string>simulator</string> |
| | | </dict> |
| | | <dict> |
| | | <key>BinaryPath</key> |
| | | <string>WASdkIntf.framework/WASdkIntf</string> |
| | | <key>LibraryIdentifier</key> |
| | | <string>ios-arm64</string> |
| | | <key>LibraryPath</key> |
| | | <string>WASdkIntf.framework</string> |
| | | <key>SupportedArchitectures</key> |
| | | <array> |
| | | <string>arm64</string> |
| | | </array> |
| | | <key>SupportedPlatform</key> |
| | | <string>ios</string> |
| | | </dict> |
| | | </array> |
| | | <key>CFBundlePackageType</key> |
| | | <string>XFWK</string> |
New file |
| | |
| | | // |
| | | // WACustomerResult.h |
| | | // WASdkIntf |
| | | // |
| | | // Created by lpw on 2025/7/15. |
| | | // Copyright © 2025 GHW-T-01. All rights reserved. |
| | | // 打开聚合客服中心回调结果 |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | #import "WALoginResult.h" |
| | | #import "WABindingResult.h" |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | |
| | | /// 客户中心回掉类型(对应不同业务场景) |
| | | typedef NS_ENUM(NSUInteger, WACustomerOperationType) { |
| | | WACustomerOperationTypeDeleteAccount, // 删除账号申请 |
| | | WACustomerOperationTypeNewAccount, // 新建账户 |
| | | WACustomerOperationTypeSwitchAccount, // 切换账户 |
| | | WACustomerOperationTypeBindAccount // 绑定账号 |
| | | }; |
| | | |
| | | |
| | | |
| | | |
| | | @interface WACustomerResult : NSObject |
| | | |
| | | /// 操作类型(标记当前回调对应的业务) |
| | | @property (nonatomic, assign) WACustomerOperationType operationType; |
| | | /// 错误信息(非空表示操作失败) |
| | | @property (nonatomic, strong) NSError *error; |
| | | /// 账号删除状态(仅 operationType 为 DeleteAccount 时有效,对应旧接口的 status) |
| | | @property (nonatomic, assign) NSUInteger deleteStatus; |
| | | /// 登录结果(仅 operationType 为 NewAccount/SwitchAccount 时有效) |
| | | @property (nonatomic, strong) WALoginResult *loginResult; |
| | | /// 绑定结果(仅 operationType 为 BindAccount 时有效) |
| | | @property (nonatomic, strong) WABindingResult *bindingResult; |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取推广任务列表 |
| | | * @param completion 完成回调,返回任务列表数组或错误信息 |
| | | * 数组元素格式为: |
| | | * @{ |
| | | * @"taskName": @"任务名称", |
| | | * @"taskStatus": @"0/1" // 0表示未完成,1表示已完成 |
| | | * } |
| | | */ |
| | | - (void)fetchPromotionTasksWithCompletion:(void(^)(NSArray<NSDictionary *> * _Nullable tasks, NSError * _Nullable error))completion; |
| | | |
| | | @end |
| | | |
| | |
| | | #import <Foundation/Foundation.h> |
| | | #import <UIKit/UIKit.h> |
| | | #import <WASdkIntf/WAUserProxy.h> |
| | | #import <WASdkIntf/WASdkIntf.h> |
| | | |
| | | |
| | | |
| | | @interface WAIUser : NSObject |
| | | -(void)setLoginFlowType:(int)flowType; |
| | | -(int)getLoginFlowType; |
| | |
| | | */ |
| | | - (void)checkConsentPreferencesWithCompletion:(void (^)(NSError *error, BOOL isShow))completionBlock; |
| | | |
| | | /*! |
| | | @discussion 打开客服中心 4.6.0增加 |
| | | */ |
| | | |
| | | - (void)showCustomerCenterWithCompletion:(void(^)(WACustomerResult*deleteResult))completionBlock; |
| | | |
| | | |
| | | |
| | | /** |
| | | @discussion 获取任务列表 4.6.0增加 |
| | | * 获取推广任务列表 |
| | | * @param completeBlock 完成回调,返回任务列表数组或错误信息 |
| | | * 数组元素格式为: |
| | | * @{ |
| | | * @"taskName": @"任务名称", |
| | | * @"taskStatus": @"0/1" // 0表示未完成,1表示已完成 |
| | | * } |
| | | */ |
| | | |
| | | -(void)fetchPromotionTasksWithCompletion:(void(^_Nullable)(NSArray<NSDictionary *> * _Nullable tasks, NSError * _Nullable error))completeBlock; |
| | | |
| | | |
| | | |
| | | |
| | | /*! |
| | | @discussion 查询玩家任务完成情况 4.6.0增加 |
| | | */ |
| | | - (void)checkPlayerTask:(void(^_Nullable)(NSError * _Nullable error, BOOL success))completeBlock; |
| | | |
| | | |
| | | @end |
| | |
| | | */ |
| | | @property(nonatomic,copy)NSString * consentNoticeId; |
| | | |
| | | //4.6.0 add |
| | | @property(nonatomic)NSInteger iosPromotionSwitch; // iOS 互推广告开关0:关闭 1:打开 |
| | | |
| | | @end |
| | |
| | | #import <WASdkIntf/WADeleteResult.h> |
| | | #import <WASdkIntf/WAIAdmob.h> |
| | | #import <WASdkIntf/WAAdMobProxy.h> |
| | | #import <WASdkIntf/WACustomerResult.h> |
| | | |
| | | //! Project version number for WASdkIntf. |
| | | FOUNDATION_EXPORT double WASdkIntfVersionNumber; |
| | |
| | | |
| | | // In this header, you should import all the public headers of your framework using statements like #import <WASdkIntf/PublicHeader.h> |
| | | |
| | | //time:2025/06/25 12:29 ver:4.5.0 |
| | | //time:2025/0722 12:29 ver:4.6.0 |
| | | // 2 |
| | |
| | | extern NSString *const WAEventForApplePayStateChanged; //苹果支付状态改变 |
| | | extern NSString *const WAEventForOrderCheckNoTransaction; //下单检测未消耗事件 |
| | | |
| | | // 20250717 |
| | | extern NSString *const WAEventAdmobAd_Show; //admob 广告事件 |
| | | extern NSString *const WAEventParameterNameAdmobAdType; //admob 广告事件参数 adtype |
| | | extern NSString *const WAEventParameterNameAdmobAdName; //admob 广告事件参数 adname |
| | | |
| | | |
| | | |
| | |
| | | #import <WASdkIntf/WACertificationInfo.h> |
| | | #import <WASdkIntf/WADeleteRequestModel.h> |
| | | #import <WASdkIntf/WADeleteResult.h> |
| | | #import <WASdkIntf/WACustomerResult.h> |
| | | |
| | | typedef NS_ENUM(NSInteger, OpenGameReviewState) { |
| | | OpenGameReviewStateReject=0, //游戏评价结果:不,谢谢! |
| | |
| | | + (void)checkConsentPreferencesWithCompletion:(void (^)(NSError *error, BOOL isShow))completionBlock; |
| | | |
| | | |
| | | |
| | | |
| | | /*! |
| | | @discussion 客服中心弹窗 |
| | | */ |
| | | + (void)showCustomerCenterWithCompletion:(void(^)(WACustomerResult*customerResult))block; |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取推广任务列表 |
| | | * @param completeBlock 完成回调,返回任务列表数组或错误信息 |
| | | * 数组元素格式为: |
| | | * @{ |
| | | * @"taskName": @"任务名称", |
| | | * @"taskStatus": @"0/1" // 0表示未完成,1表示已完成 |
| | | * } |
| | | */ |
| | | +(void)fetchPromotionTasksWithCompletion:(void(^_Nullable)(NSArray<NSDictionary *> * _Nullable tasksArray, NSError * _Nullable error))completeBlock; |
| | | |
| | | |
| | | |
| | | |
| | | /*! |
| | | @discussion 查询玩家任务完成情况 4.6.0增加 |
| | | */ |
| | | + (void)checkPlayerTask:(void(^_Nullable)(NSError * _Nullable error, BOOL success))completeBlock; |
| | | |
| | | @end |
New file |
| | |
| | | // |
| | | // WACustomerResult.h |
| | | // WASdkIntf |
| | | // |
| | | // Created by lpw on 2025/7/15. |
| | | // Copyright © 2025 GHW-T-01. All rights reserved. |
| | | // 打开聚合客服中心回调结果 |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | #import "WALoginResult.h" |
| | | #import "WABindingResult.h" |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | |
| | | /// 客户中心回掉类型(对应不同业务场景) |
| | | typedef NS_ENUM(NSUInteger, WACustomerOperationType) { |
| | | WACustomerOperationTypeDeleteAccount, // 删除账号申请 |
| | | WACustomerOperationTypeNewAccount, // 新建账户 |
| | | WACustomerOperationTypeSwitchAccount, // 切换账户 |
| | | WACustomerOperationTypeBindAccount // 绑定账号 |
| | | }; |
| | | |
| | | |
| | | |
| | | |
| | | @interface WACustomerResult : NSObject |
| | | |
| | | /// 操作类型(标记当前回调对应的业务) |
| | | @property (nonatomic, assign) WACustomerOperationType operationType; |
| | | /// 错误信息(非空表示操作失败) |
| | | @property (nonatomic, strong) NSError *error; |
| | | /// 账号删除状态(仅 operationType 为 DeleteAccount 时有效,对应旧接口的 status) |
| | | @property (nonatomic, assign) NSUInteger deleteStatus; |
| | | /// 登录结果(仅 operationType 为 NewAccount/SwitchAccount 时有效) |
| | | @property (nonatomic, strong) WALoginResult *loginResult; |
| | | /// 绑定结果(仅 operationType 为 BindAccount 时有效) |
| | | @property (nonatomic, strong) WABindingResult *bindingResult; |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取推广任务列表 |
| | | * @param completion 完成回调,返回任务列表数组或错误信息 |
| | | * 数组元素格式为: |
| | | * @{ |
| | | * @"taskName": @"任务名称", |
| | | * @"taskStatus": @"0/1" // 0表示未完成,1表示已完成 |
| | | * } |
| | | */ |
| | | - (void)fetchPromotionTasksWithCompletion:(void(^)(NSArray<NSDictionary *> * _Nullable tasks, NSError * _Nullable error))completion; |
| | | |
| | | @end |
| | | |
| | |
| | | #import <Foundation/Foundation.h> |
| | | #import <UIKit/UIKit.h> |
| | | #import <WASdkIntf/WAUserProxy.h> |
| | | #import <WASdkIntf/WASdkIntf.h> |
| | | |
| | | |
| | | |
| | | @interface WAIUser : NSObject |
| | | -(void)setLoginFlowType:(int)flowType; |
| | | -(int)getLoginFlowType; |
| | |
| | | */ |
| | | - (void)checkConsentPreferencesWithCompletion:(void (^)(NSError *error, BOOL isShow))completionBlock; |
| | | |
| | | /*! |
| | | @discussion 打开客服中心 4.6.0增加 |
| | | */ |
| | | |
| | | - (void)showCustomerCenterWithCompletion:(void(^)(WACustomerResult*deleteResult))completionBlock; |
| | | |
| | | |
| | | |
| | | /** |
| | | @discussion 获取任务列表 4.6.0增加 |
| | | * 获取推广任务列表 |
| | | * @param completeBlock 完成回调,返回任务列表数组或错误信息 |
| | | * 数组元素格式为: |
| | | * @{ |
| | | * @"taskName": @"任务名称", |
| | | * @"taskStatus": @"0/1" // 0表示未完成,1表示已完成 |
| | | * } |
| | | */ |
| | | |
| | | -(void)fetchPromotionTasksWithCompletion:(void(^_Nullable)(NSArray<NSDictionary *> * _Nullable tasks, NSError * _Nullable error))completeBlock; |
| | | |
| | | |
| | | |
| | | |
| | | /*! |
| | | @discussion 查询玩家任务完成情况 4.6.0增加 |
| | | */ |
| | | - (void)checkPlayerTask:(void(^_Nullable)(NSError * _Nullable error, BOOL success))completeBlock; |
| | | |
| | | |
| | | @end |
| | |
| | | */ |
| | | @property(nonatomic,copy)NSString * consentNoticeId; |
| | | |
| | | //4.6.0 add |
| | | @property(nonatomic)NSInteger iosPromotionSwitch; // iOS 互推广告开关0:关闭 1:打开 |
| | | |
| | | @end |
| | |
| | | #import <WASdkIntf/WADeleteResult.h> |
| | | #import <WASdkIntf/WAIAdmob.h> |
| | | #import <WASdkIntf/WAAdMobProxy.h> |
| | | #import <WASdkIntf/WACustomerResult.h> |
| | | |
| | | //! Project version number for WASdkIntf. |
| | | FOUNDATION_EXPORT double WASdkIntfVersionNumber; |
| | |
| | | |
| | | // In this header, you should import all the public headers of your framework using statements like #import <WASdkIntf/PublicHeader.h> |
| | | |
| | | //time:2025/06/25 12:29 ver:4.5.0 |
| | | //time:2025/0722 12:29 ver:4.6.0 |
| | | // 2 |
| | |
| | | extern NSString *const WAEventForApplePayStateChanged; //苹果支付状态改变 |
| | | extern NSString *const WAEventForOrderCheckNoTransaction; //下单检测未消耗事件 |
| | | |
| | | // 20250717 |
| | | extern NSString *const WAEventAdmobAd_Show; //admob 广告事件 |
| | | extern NSString *const WAEventParameterNameAdmobAdType; //admob 广告事件参数 adtype |
| | | extern NSString *const WAEventParameterNameAdmobAdName; //admob 广告事件参数 adname |
| | | |
| | | |
| | | |
| | |
| | | #import <WASdkIntf/WACertificationInfo.h> |
| | | #import <WASdkIntf/WADeleteRequestModel.h> |
| | | #import <WASdkIntf/WADeleteResult.h> |
| | | #import <WASdkIntf/WACustomerResult.h> |
| | | |
| | | typedef NS_ENUM(NSInteger, OpenGameReviewState) { |
| | | OpenGameReviewStateReject=0, //游戏评价结果:不,谢谢! |
| | |
| | | + (void)checkConsentPreferencesWithCompletion:(void (^)(NSError *error, BOOL isShow))completionBlock; |
| | | |
| | | |
| | | |
| | | |
| | | /*! |
| | | @discussion 客服中心弹窗 |
| | | */ |
| | | + (void)showCustomerCenterWithCompletion:(void(^)(WACustomerResult*customerResult))block; |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取推广任务列表 |
| | | * @param completeBlock 完成回调,返回任务列表数组或错误信息 |
| | | * 数组元素格式为: |
| | | * @{ |
| | | * @"taskName": @"任务名称", |
| | | * @"taskStatus": @"0/1" // 0表示未完成,1表示已完成 |
| | | * } |
| | | */ |
| | | +(void)fetchPromotionTasksWithCompletion:(void(^_Nullable)(NSArray<NSDictionary *> * _Nullable tasksArray, NSError * _Nullable error))completeBlock; |
| | | |
| | | |
| | | |
| | | |
| | | /*! |
| | | @discussion 查询玩家任务完成情况 4.6.0增加 |
| | | */ |
| | | + (void)checkPlayerTask:(void(^_Nullable)(NSError * _Nullable error, BOOL success))completeBlock; |
| | | |
| | | @end |