From 248d1a9e67234cea424a72aaedb926d76bb08c36 Mon Sep 17 00:00:00 2001 From: lpw Date: Sat, 03 Jun 2023 09:13:22 +0800 Subject: [PATCH] 3.15.0 --- frameworks/WASdkIntf.framework/Headers/WAUserProxy.h | 20 ++-- frameworks/WASdkIntf.framework/WASdkIntf | 0 frameworks/WASdkIntf.framework/Headers/WAIUser.h | 12 ++ frameworks/WASdkIntf.framework/Headers/WAICsc.h | 51 ++---------- WASdkIntf.podspec | 2 frameworks/WASdkIntf.framework/Headers/WAConstants.h | 6 + frameworks/WASdkIntf.framework/Headers/WASdkIntf.h | 2 frameworks/WASdkIntf.framework/Info.plist | 0 frameworks/WASdkIntf.framework/Headers/WATrackProxy.h | 2 frameworks/WASdkIntf.framework/Headers/WACscProxy.h | 79 ++++--------------- WASdkIntf/3.15.0/WASdkIntf.podspec | 23 +++++ frameworks/WASdkIntf.framework/Headers/WAParamConfigObj.h | 7 + 12 files changed, 89 insertions(+), 115 deletions(-) diff --git a/WASdkIntf.podspec b/WASdkIntf.podspec index e5d017c..d37e444 100644 --- a/WASdkIntf.podspec +++ b/WASdkIntf.podspec @@ -9,7 +9,7 @@ Pod::Spec.new do |s| s.name = 'WASdkIntf' -s.version = '3.12.0' +s.version = '3.15.0' s.summary = 'WASdkIntf framework in production environment.' s.license = 'MIT' s.author = { "Wuyx" => "wuyixin_gh@gamehollywood.com" } diff --git a/WASdkIntf/3.15.0/WASdkIntf.podspec b/WASdkIntf/3.15.0/WASdkIntf.podspec new file mode 100644 index 0000000..d37e444 --- /dev/null +++ b/WASdkIntf/3.15.0/WASdkIntf.podspec @@ -0,0 +1,23 @@ +# +# Be sure to run `pod spec lint WASdkIntf.podspec' to ensure this is a +# valid spec and to remove all comments including this before submitting the spec. +# +# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html +# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/ +# + +Pod::Spec.new do |s| + +s.name = 'WASdkIntf' +s.version = '3.15.0' +s.summary = 'WASdkIntf framework in production environment.' +s.license = 'MIT' +s.author = { "Wuyx" => "wuyixin_gh@gamehollywood.com" } +s.homepage = 'http://repo.wingsdk.cn:8082/summary/WASdkIntf.git' +s.source = { :git => "http://admin@repo.wingsdk.cn:8082/r/WASdkIntf.git" , :tag => s.version} +s.platform = :ios +s.ios.deployment_target = "7.0" +s.vendored_frameworks = 'frameworks/WASdkIntf.framework' +s.resources = ['config/*.plist'] +s.requires_arc = true +end diff --git a/frameworks/WASdkIntf.framework/Headers/WAConstants.h b/frameworks/WASdkIntf.framework/Headers/WAConstants.h index b14c9de..4c106b6 100644 --- a/frameworks/WASdkIntf.framework/Headers/WAConstants.h +++ b/frameworks/WASdkIntf.framework/Headers/WAConstants.h @@ -36,6 +36,12 @@ extern NSString *const WA_PLATFORM_SIGNINWITHAPPLE; extern NSString *const WA_PLATFORM_FIREBASE; +// weblogin +extern NSString *const WA_PLATFORM_WEBLOGIN; +extern NSString *const WA_PLATFORM_GHG; +extern NSString *const WA_PLATFORM_R2; + + extern NSString *const WA_PLATFORM_QQ_CN_NAME; diff --git a/frameworks/WASdkIntf.framework/Headers/WACscProxy.h b/frameworks/WASdkIntf.framework/Headers/WACscProxy.h index 406b402..42ce4b6 100644 --- a/frameworks/WASdkIntf.framework/Headers/WACscProxy.h +++ b/frameworks/WASdkIntf.framework/Headers/WACscProxy.h @@ -10,51 +10,6 @@ @interface WACscProxy : NSObject -/*! - @abstract 启动机器人客服界面 - @param showConversationFlag (0或1):是否为vip, 0:标示非VIP;1:表示:VIP此处为1时,将在机器人的聊天界面右上角,提供人工聊天的入口功能 - @param config 可为nil,自定义Dictionary信息可以在此处设置特定的Tag信息 - */ -+ (void)showElva:(nonnull NSString *)showConversationFlag config:(nullable NSMutableDictionary *)config; - -/*! - @abstract 启动运营界面 - @param showConversationFlag (0或1):是否为vip, 0:标示非VIP;1:表示:VIP此处为1时,将在机器人的聊天界面右上角,提供人工聊天的入口功能 - @param config 可为nil,自定义Dictionary信息可以在此处设置特定的Tag信息 - */ -+ (void)showElvaOP:(nonnull NSString *)showConversationFlag config:(nullable NSMutableDictionary *)config; - -/*! - @abstract 展示全部FAQ菜单 - @param config 可为nil,自定义Dictionary信息可以在此处设置特定的Tag信息 - */ -+ (void)showFAQs:(nullable NSMutableDictionary *)config; - -/*! - @abstract 展示FAQ分类 - @param sectionPublishId FAQ Section的PublishID(可以在AIHelp 后台 中,从FAQs菜单下[Section]菜单,查看PublishID) - @param config 可为nil,自定义Dictionary信息可以在此处设置特定的Tag信息 - */ -+ (void)showFAQSection:(nonnull NSString *)sectionPublishId config:(nullable NSMutableDictionary *)config; - -/*! - @abstract 展示单条FAQ - @param faqId FAQ的编号。打开AIHelp 后台中,在机器人→常见问题页面下找到指定FAQ的FAQ编号,注意:此FAQID不能填写客服后台未存在的FAQ编号 - @param config 可为nil,自定义Dictionary信息可以在此处设置特定的Tag信息 - */ -+ (void)showSingleFAQ:(nonnull NSString *)faqId config:(nullable NSMutableDictionary *)config; - -/*! - @abstract 进入人工客服界面 - @param config 可为nil,自定义Dictionary信息可以在此处设置特定的Tag信息 - */ -+ (void)showConversation:(nullable NSMutableDictionary *)config; - -/*! - @abstract 设置游戏名称信息 - @param name 设置后将显示在SDK中相关界面导航栏 - */ -+ (void)setName:(nonnull NSString *)name; /*! @abstract 设置SDK语言 @@ -62,29 +17,29 @@ */ + (void)setLanguage:(nonnull NSString *)language; -#pragma mark -- 设置SDK方向 -/* - - UIInterfaceOrientationMaskPortrait, // 设备(屏幕)直立 - UIInterfaceOrientationMaskLandscapeLeft, // 设备(屏幕)向左横置 - UIInterfaceOrientationMaskLandscapeRight, // 设备(屏幕)向右橫置 - UIInterfaceOrientationMaskPortraitUpsideDown,// 设备(屏幕)直立,上下顛倒 - UIInterfaceOrientationMaskLandscape, // 设备(屏幕)横置,包含向左和向右 - UIInterfaceOrientationMaskAll, // 设备(屏幕)可以支持上下左右四个方向 - UIInterfaceOrientationMaskAllButUpsideDown //设备(屏幕)可以支持上左右三个个方向,但不支持直立上下颠倒 - - */ -+ (void)setSDKInterfaceOrientationMask:(NSUInteger)interfaceOrientationMask; - - /*! @abstract 检测是否开启aihelp */ + (BOOL) isOpenAiHelp; -+ (void) openAiHelp:(NSString * _Nonnull )language; +/*! + @abstract 打开aihelp V2版本 + */ ++ (void) openAiHelpV2; -+ (void) openAiHelp:(NSString * _Nonnull )language isVip:(BOOL)vip; + +/*! +@abstract 判断是否可打开游戏评价-我要吐槽 aiheip入口 +*/ ++ (BOOL) isOpenGameReviewAiHelp; + + +/*! +@abstract 打开游戏评价-我要吐槽 进入aiheip入口 +*/ ++ (void) openGameReviewAiHelp; + + @end diff --git a/frameworks/WASdkIntf.framework/Headers/WAICsc.h b/frameworks/WASdkIntf.framework/Headers/WAICsc.h index 89bb27d..5abb244 100644 --- a/frameworks/WASdkIntf.framework/Headers/WAICsc.h +++ b/frameworks/WASdkIntf.framework/Headers/WAICsc.h @@ -10,55 +10,26 @@ @interface WAICsc : NSObject -#pragma mark - 启动机器人客服界面 -- (void)showElva:(nonnull NSString *)showConversationFlag config:(nullable NSMutableDictionary *)config; -#pragma mark - 启动运营界面 -- (void)showElvaOP:(nonnull NSString *)showConversationFlag config:(nullable NSMutableDictionary *)config; -#pragma mark 展示全部FAQ菜单 -- (void)showFAQs:(nullable NSMutableDictionary *)config; -#pragma mark 展示FAQ分类 -- (void)showFAQSection:(nonnull NSString *)sectionPublishId config:(nullable NSMutableDictionary *)config; - -#pragma mark 展示单条FAQ -- (void)showSingleFAQ:(nonnull NSString *)faqId config:(nullable NSMutableDictionary *)config; - -#pragma mark - 进入人工客服界面 -- (void)showConversation:(nullable NSMutableDictionary *)config; - -#pragma mark -- 设置游戏名称信息 -/*! - DEPRECATED: aihep2.x版本已废弃 - */ -- (void)setName:(nonnull NSString *)name __attribute__ ((deprecated)); - -#pragma mark -- 设置SDK语言 -- (void)setLanguage:(nonnull NSString *)language; -#pragma mark -- 设置SDK方向 -/* - - UIInterfaceOrientationMaskPortrait, // 设备(屏幕)直立 - UIInterfaceOrientationMaskLandscapeLeft, // 设备(屏幕)向左横置 - UIInterfaceOrientationMaskLandscapeRight, // 设备(屏幕)向右橫置 - UIInterfaceOrientationMaskPortraitUpsideDown,// 设备(屏幕)直立,上下顛倒 - UIInterfaceOrientationMaskLandscape, // 设备(屏幕)横置,包含向左和向右 - UIInterfaceOrientationMaskAll, // 设备(屏幕)可以支持上下左右四个方向 - UIInterfaceOrientationMaskAllButUpsideDown //设备(屏幕)可以支持上左右三个个方向,但不支持直立上下颠倒 - - */ -- (void)setSDKInterfaceOrientationMask:(NSUInteger)interfaceOrientationMask; #pragma mark -- 判断是否加载aihelp模块 - (BOOL) isOpenAiHelp; -#pragma mark -- 打开aihelp -- (void) openAiHelp:(NSString * _Nonnull )language; +#pragma mark -- 打开aihelp V2版本 +- (void) openAiHelpV2; -#pragma mark -- 打开aihelp 扩展是否为vip -- (void) openAiHelp:(NSString * _Nonnull )language isVip:(BOOL)vip; +#pragma mark -- 设置SDK语言 +- (void)setLanguage:(nonnull NSString *)language; + + +#pragma mark-- 判断是否可打开游戏评价-我要吐槽 aiheip入口 +- (BOOL) isOpenGameReviewAiHelp; + +#pragma mark -- 打开游戏评价-我要吐槽 进入aiheip入口 +- (void) openGameReviewAiHelp; @end diff --git a/frameworks/WASdkIntf.framework/Headers/WAIUser.h b/frameworks/WASdkIntf.framework/Headers/WAIUser.h index a40bf7c..69ffdbe 100644 --- a/frameworks/WASdkIntf.framework/Headers/WAIUser.h +++ b/frameworks/WASdkIntf.framework/Headers/WAIUser.h @@ -8,7 +8,7 @@ #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> -#import "WAUserProxy.h" +#import <WASdkIntf/WAUserProxy.h> #import <WASdkIntf/WASdkIntf.h> @interface WAIUser : NSObject -(void)setLoginFlowType:(int)flowType; @@ -134,4 +134,14 @@ - (void)requestDeleteAccoutUI:(void(^)(NSError *error, NSUInteger status))completeBlock; + + + + +/*! +@discussion 打开游戏评分功能 + */ +- (void)openGameReview:(void(^)(OpenGameReviewState status))block; + + @end diff --git a/frameworks/WASdkIntf.framework/Headers/WAParamConfigObj.h b/frameworks/WASdkIntf.framework/Headers/WAParamConfigObj.h index 85ccf14..1ff5977 100644 --- a/frameworks/WASdkIntf.framework/Headers/WAParamConfigObj.h +++ b/frameworks/WASdkIntf.framework/Headers/WAParamConfigObj.h @@ -39,7 +39,6 @@ @property(nonatomic)NSInteger userCenterStatusV2; //新版用户中心状态(CharacterID):0-关闭, 1-打开 @property(nonatomic)NSInteger isRechargeCenterPay; // 是否开启充值中心支付:0-关闭,1-打开,2-仅安卓打开,3-仅IOS打开 @property(nonatomic,copy)NSString* rechargeCenterIcon; // 充值中心的支付图片URL -@property(nonatomic)NSInteger isOpenKefu; // 是否开启客服 0 关闭 1 启动机器人客服聊天界面 2 启动人工客服聊天界面 3 启动运营界面 4 展示全部FAQ菜单 5 展示全部FAQ菜单(无机器人客服) @property (nonatomic, copy) NSDictionary *paymentTip; //付款信息提示 (complete:提示语字段的key) @property(nonatomic)NSInteger logEventControl; // 事件日志开关 0 关闭 1 全部打开 2 仅android打开 3 仅ios打开 @property(nonatomic)NSInteger loginRna; // 0 - 关闭,登录后不弹实名认证。 1 - 开启并强制 2开启不强制 @@ -53,5 +52,11 @@ @property (nonatomic)NSInteger deletingAccountRemind; // 账号注销提醒开关.(0-关闭, 1-开启, 默认关闭) 开启后,当注销中用户登录时,SDK弹出取消注销账号提醒,如用户取消,则SDK自动调用取消删除账号接口 @property(nonatomic,copy)NSString* deleteAccountProtocolURL; // 删除账号协议 +//3.15.0 add 20230523 +@property(nonatomic)NSInteger isOpenKefuV2; // SDK客服开关V2(0-关闭, 1-开启, 默认关闭) +@property(nonatomic,copy)NSString* kefuEntranceId; // aihelp客服入口id +@property(nonatomic)NSInteger isOpenGameReview; // 游戏评价开关(0-关闭, 1-开启, 默认关闭) +@property(nonatomic,copy)NSString* kefuGameReviewEntranceId; //AIHELP游戏评价入口 + @end diff --git a/frameworks/WASdkIntf.framework/Headers/WASdkIntf.h b/frameworks/WASdkIntf.framework/Headers/WASdkIntf.h index be843bf..b7a2f79 100644 --- a/frameworks/WASdkIntf.framework/Headers/WASdkIntf.h +++ b/frameworks/WASdkIntf.framework/Headers/WASdkIntf.h @@ -71,4 +71,4 @@ // In this header, you should import all the public headers of your framework using statements like #import <WASdkIntf/PublicHeader.h> -//time:2022/10/28 09:15 ver:3.12.0 +//time:2023/06/06 12:29 ver:3.15.0 diff --git a/frameworks/WASdkIntf.framework/Headers/WATrackProxy.h b/frameworks/WASdkIntf.framework/Headers/WATrackProxy.h index 8fc69a3..b67323a 100644 --- a/frameworks/WASdkIntf.framework/Headers/WATrackProxy.h +++ b/frameworks/WASdkIntf.framework/Headers/WATrackProxy.h @@ -193,6 +193,7 @@ // 获取登录方式之后 extern NSString *const WAEventParameterNameLoginWayCount; // 登录方式个数 extern NSString *const WAEventShowLoginWindow; //打开登录框 +extern NSString *const WAEventOpenGameReview; //游戏评分点击选项 @@ -204,6 +205,7 @@ extern NSString *const WAValueForPaymentTypeApple; extern NSString *const WAValueForPaymentTypeGoogle; extern NSString *const WAValueForPaymentTypeFree; +extern NSString *const WAValueForPaymentTypeH5Platform; diff --git a/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h b/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h index 00d420c..49ed139 100644 --- a/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h +++ b/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h @@ -17,6 +17,13 @@ #import <WASdkIntf/WADeleteRequestModel.h> #import <WASdkIntf/WADeleteResult.h> +typedef NS_ENUM(NSInteger, OpenGameReviewState) { + OpenGameReviewStateReject=0, //游戏评价结果:不,谢谢! + OpenGameReviewStateOpenAiHelp, //游戏评价结果:我要提意见 + OpenGameReviewStateOpentReview, //游戏评价结果:提交好评(无法获取用户是否点击评分以及具体的评分分数) + OpenGameReviewStateError //打开游戏评价失败,后台没有开启游戏评价开关 + +}; /*! @discussion 登录协议 - - - @@ -382,14 +389,6 @@ - - - - - - - - //**************************************删除账号有关start************************************************************ /*! @@ -427,11 +426,14 @@ - //**************************************删除账号有关end************************************************************ +/*! +@discussion 打开游戏评分功能 + */ ++ (void)openGameReview:(void(^)(OpenGameReviewState status))block; diff --git a/frameworks/WASdkIntf.framework/Info.plist b/frameworks/WASdkIntf.framework/Info.plist index e2c2c7c..c2b7832 100644 --- a/frameworks/WASdkIntf.framework/Info.plist +++ b/frameworks/WASdkIntf.framework/Info.plist Binary files differ diff --git a/frameworks/WASdkIntf.framework/WASdkIntf b/frameworks/WASdkIntf.framework/WASdkIntf index b230f69..537dacf 100644 --- a/frameworks/WASdkIntf.framework/WASdkIntf +++ b/frameworks/WASdkIntf.framework/WASdkIntf Binary files differ -- Gitblit v1.8.0