From 79188b8f776565da8b5ae59826e9e08fe28630aa Mon Sep 17 00:00:00 2001
From: lpw
Date: Tue, 15 Feb 2022 15:43:14 +0800
Subject: [PATCH] 3.9.7

---
 frameworks/WASdkIntf.framework/WASdkIntf                  |    0 
 frameworks/WASdkIntf.framework/Headers/WAIUser.h          |   12 ++++++
 frameworks/WASdkIntf.framework/Headers/WAICsc.h           |    5 ++
 WASdkIntf.podspec                                         |    2 
 frameworks/WASdkIntf.framework/Headers/WASdkIntf.h        |    2 
 frameworks/WASdkIntf.framework/Info.plist                 |    0 
 frameworks/WASdkIntf.framework/Headers/WAParamConfigObj.h |    7 +++
 frameworks/WASdkIntf.framework/Headers/WAUserProxy.h      |   16 ++++++++
 frameworks/WASdkIntf.framework/Headers/WAITrack.h         |    5 ++
 frameworks/WASdkIntf.framework/Headers/WACore.h           |    2 +
 WASdkIntf/3.9.7/WASdkIntf.podspec                         |   23 +++++++++++
 frameworks/WASdkIntf.framework/Headers/WAConstants.h      |    6 +++
 frameworks/WASdkIntf.framework/Headers/WATrackProxy.h     |    3 +
 frameworks/WASdkIntf.framework/Headers/WACoreProxy.h      |    2 +
 14 files changed, 81 insertions(+), 4 deletions(-)

diff --git a/WASdkIntf.podspec b/WASdkIntf.podspec
index e01e89d..c022d24 100644
--- a/WASdkIntf.podspec
+++ b/WASdkIntf.podspec
@@ -9,7 +9,7 @@
 Pod::Spec.new do |s|
 
 s.name = 'WASdkIntf'
-s.version = '3.9.6'
+s.version = '3.9.7'
 s.summary = 'WASdkIntf framework in production environment.'
 s.license = 'MIT'
 s.author = { "Wuyx" => "wuyixin_gh@gamehollywood.com" }
diff --git a/WASdkIntf/3.9.7/WASdkIntf.podspec b/WASdkIntf/3.9.7/WASdkIntf.podspec
new file mode 100644
index 0000000..c022d24
--- /dev/null
+++ b/WASdkIntf/3.9.7/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.9.7'
+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 7f19960..d2c2f61 100644
--- a/frameworks/WASdkIntf.framework/Headers/WAConstants.h
+++ b/frameworks/WASdkIntf.framework/Headers/WAConstants.h
@@ -115,6 +115,12 @@
 
 
 
+//隐私协议地址
+extern NSString *const WAPrivacyAgreementURL_UserAgreement;         //用户协议
+extern NSString *const WAPrivacyAgreementURL_PrivacyPolicy;         //隐私地址
+extern NSString *const WAPrivacyAgreementURL_ChildrenPrivacyPolicy; //儿童隐私协议
+
+
 
 @interface WAConstants : NSObject {
     
diff --git a/frameworks/WASdkIntf.framework/Headers/WACore.h b/frameworks/WASdkIntf.framework/Headers/WACore.h
index 0de5845..0ff54f8 100644
--- a/frameworks/WASdkIntf.framework/Headers/WACore.h
+++ b/frameworks/WASdkIntf.framework/Headers/WACore.h
@@ -46,6 +46,8 @@
 -(NSString *)getPrivacyUrl;
 -(NSString *)getPrivacyUpdateTime;
 -(void)showPrivacyUI:(void(^)(BOOL isClose))handler;
+-(void)showPrivacyUITitle:(NSString*)title url:(NSString*)url handle:(void(^)(BOOL isClose))handler;
+
 -(NSString*)getDeepLinkWithUrl:(NSURL*)url;
 -(WAParamConfigObj*)getParamConfig;
 -(void)fetchDeferredAppLink:(void(^)(NSURL *url, NSError *error))handler;
diff --git a/frameworks/WASdkIntf.framework/Headers/WACoreProxy.h b/frameworks/WASdkIntf.framework/Headers/WACoreProxy.h
index 3e0330d..3057c23 100644
--- a/frameworks/WASdkIntf.framework/Headers/WACoreProxy.h
+++ b/frameworks/WASdkIntf.framework/Headers/WACoreProxy.h
@@ -181,6 +181,8 @@
  @abstract 隐私政策内容界面
  */
 +(void)showPrivacyUI:(void(^)(void))privacyUIClosedHandler;
++(void)showPrivacyUITitle:(NSString*)title url:(NSString*)url handle:(void(^)(void))privacyUIClosedHandler;
+
 /*!
  @abstract 下面两个方法是关于Facebook deeplink, CP不用关注
  */
diff --git a/frameworks/WASdkIntf.framework/Headers/WAICsc.h b/frameworks/WASdkIntf.framework/Headers/WAICsc.h
index 76a7735..89bb27d 100644
--- a/frameworks/WASdkIntf.framework/Headers/WAICsc.h
+++ b/frameworks/WASdkIntf.framework/Headers/WAICsc.h
@@ -29,7 +29,10 @@
 - (void)showConversation:(nullable NSMutableDictionary *)config;
 
 #pragma mark -- 设置游戏名称信息
-- (void)setName:(nonnull NSString *)name;
+/*!
+ DEPRECATED: aihep2.x版本已废弃
+ */
+- (void)setName:(nonnull NSString *)name  __attribute__ ((deprecated));
 
 #pragma mark -- 设置SDK语言
 - (void)setLanguage:(nonnull NSString *)language;
diff --git a/frameworks/WASdkIntf.framework/Headers/WAITrack.h b/frameworks/WASdkIntf.framework/Headers/WAITrack.h
index 43cd914..1594d98 100644
--- a/frameworks/WASdkIntf.framework/Headers/WAITrack.h
+++ b/frameworks/WASdkIntf.framework/Headers/WAITrack.h
@@ -153,6 +153,11 @@
  *  进行WING平台登录之后
  */
 -(void)postWingLogin;
+
+/**
+ *  弹出登录框时发送
+ */
+-(void)postShowLoginWindow;
 /**
  *  自定义事件
  */
diff --git a/frameworks/WASdkIntf.framework/Headers/WAIUser.h b/frameworks/WASdkIntf.framework/Headers/WAIUser.h
index 5e909e5..39c2894 100644
--- a/frameworks/WASdkIntf.framework/Headers/WAIUser.h
+++ b/frameworks/WASdkIntf.framework/Headers/WAIUser.h
@@ -93,4 +93,16 @@
 */
 - (void)openReview;
 
+
+/*!
+@discussion 打开idfa弹框授权 status状态与 ATTrackingManagerAuthorizationStatus 一致
+ */
+- (void)openTTAAuthorizationWithCompletionHandler:(void(^)(NSError* error,NSUInteger status))block;
+
+/*!
+@discussion 隐私协议弹框
+ */
+- (void)openPrivacyAgreementWindow:(void(^)(NSError* error,NSUInteger status))block;
+
+
 @end
diff --git a/frameworks/WASdkIntf.framework/Headers/WAParamConfigObj.h b/frameworks/WASdkIntf.framework/Headers/WAParamConfigObj.h
index 54abdbe..d0030aa 100644
--- a/frameworks/WASdkIntf.framework/Headers/WAParamConfigObj.h
+++ b/frameworks/WASdkIntf.framework/Headers/WAParamConfigObj.h
@@ -28,8 +28,13 @@
 @property(nonatomic) NSInteger adVideoCacheCount;
 @property(nonatomic) NSInteger enableBindAccount; // 绑定:  0-关闭, 1-打开  2-强制绑定(国内)
 @property(nonatomic) NSInteger enableUnBindAccount; // 解绑:   0-关闭,1-打开
-@property(nonatomic,copy)NSString* privacyUrl; // 用户协议url
+@property(nonatomic,copy)NSString* privacyUrl; // 隐私协议url
 @property(nonatomic,copy)NSString* privacyUpdateTime; // 用户协议更新时间
+@property(nonatomic,copy)NSString* userPolicyUrl; // 用户协议
+@property(nonatomic,copy)NSString* childPrivacyUrl; // 儿童隐私协议地址
+
+
+
 @property(nonatomic)NSInteger userCenterStatus; // 用户中心状态 0-关闭,1-打开
 @property(nonatomic)NSInteger isRechargeCenterPay; // 是否开启充值中心支付:0-关闭,1-打开,2-仅安卓打开,3-仅IOS打开
 @property(nonatomic,copy)NSString* rechargeCenterIcon; // 充值中心的支付图片URL
diff --git a/frameworks/WASdkIntf.framework/Headers/WASdkIntf.h b/frameworks/WASdkIntf.framework/Headers/WASdkIntf.h
index 6012522..912fa17 100644
--- a/frameworks/WASdkIntf.framework/Headers/WASdkIntf.h
+++ b/frameworks/WASdkIntf.framework/Headers/WASdkIntf.h
@@ -68,4 +68,4 @@
 
 // In this header, you should import all the public headers of your framework using statements like #import <WASdkIntf/PublicHeader.h>
 
-//time:2021/09/23 09:15 ver:3.9.5
+//time:2022/01/05 09:15 ver:2.4.1
diff --git a/frameworks/WASdkIntf.framework/Headers/WATrackProxy.h b/frameworks/WASdkIntf.framework/Headers/WATrackProxy.h
index 440ca91..629893b 100644
--- a/frameworks/WASdkIntf.framework/Headers/WATrackProxy.h
+++ b/frameworks/WASdkIntf.framework/Headers/WATrackProxy.h
@@ -191,6 +191,9 @@
 
 // 获取登录方式之后
 extern NSString *const WAEventParameterNameLoginWayCount; // 登录方式个数
+extern NSString *const WAEventShowLoginWindow;    //打开登录框
+
+
 
 // 进行登录之前、进行第三方渠道登录之后、进行WING平台登录之后
 extern NSString *const WAEventParameterNamePlatformName; // 登录渠道名称
diff --git a/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h b/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h
index 3b6c9f8..a9e981c 100644
--- a/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h
+++ b/frameworks/WASdkIntf.framework/Headers/WAUserProxy.h
@@ -361,4 +361,20 @@
 
 
 
+/*!
+@discussion 打开idfa弹框授权
+ */
++ (void)openTTAAuthorizationWithCompletionHandler:(void(^)(NSError* error,NSUInteger status))block;
+
+/*!
+@discussion 隐私协议弹框
+ error 不为空时
+    status  -1  弹出了协议框,用户点击了拒绝
+            
+ error 为空
+    status 1 弹出了协议框,用户点击了同意
+    status 2 没有弹出协议框,用户之前点击过同意,无需再弹
+ */
++ (void)openPrivacyAgreementWindow:(void(^)(NSError* error,NSUInteger status))bloc;
+
 @end
diff --git a/frameworks/WASdkIntf.framework/Info.plist b/frameworks/WASdkIntf.framework/Info.plist
index 2fcba13..205b1ce 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 eadc48d..ef8ea89 100644
--- a/frameworks/WASdkIntf.framework/WASdkIntf
+++ b/frameworks/WASdkIntf.framework/WASdkIntf
Binary files differ

--
Gitblit v1.8.0