From 3a96ff66fa50a35df4bad55fe9ee06b3139049b6 Mon Sep 17 00:00:00 2001
From: LPW <812862340@qq.com>
Date: Thu, 11 Nov 2021 18:36:46 +0800
Subject: [PATCH] 2.4.0

---
 frameworks/WASdkIntf.framework/Headers/WAUserProxy.h      |   16 ++++++++
 frameworks/WASdkIntf.framework/WASdkIntf                  |    0 
 frameworks/WASdkIntf.framework/Headers/WAIUser.h          |   12 ++++++
 frameworks/WASdkIntf.framework/Headers/WACore.h           |    2 +
 frameworks/WASdkIntf.framework/Headers/WAConstants.h      |    6 +++
 frameworks/WASdkIntf.framework/Headers/WASdkIntf.h        |    2 
 frameworks/WASdkIntf.framework/Info.plist                 |    0 
 WASdkIntf_CN/2.4.0/WASdkIntf_CN.podspec                   |   23 +++++++++++
 frameworks/WASdkIntf.framework/Headers/WAParamConfigObj.h |    7 +++
 frameworks/WASdkIntf.framework/Headers/WACoreProxy.h      |    2 +
 10 files changed, 68 insertions(+), 2 deletions(-)

diff --git a/WASdkIntf_CN/2.4.0/WASdkIntf_CN.podspec b/WASdkIntf_CN/2.4.0/WASdkIntf_CN.podspec
new file mode 100644
index 0000000..3f43b18
--- /dev/null
+++ b/WASdkIntf_CN/2.4.0/WASdkIntf_CN.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_CN'
+s.version = '2.4.0'
+s.summary = 'WASdkIntf_CN framework in testing environment.'
+s.license = 'MIT'
+s.author = { "Hank" => "hank.zhang@gamehollywood.com" }
+s.homepage = 'http://repo.wingsdk.cn:8082/summary/WASdkIntf_CN.git'
+s.source = { :git => "http://admin@repo.wingsdk.cn:8082/r/WASdkIntf_CN.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
\ No newline at end of file
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/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 2f2a10a..56b2f58 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/10/15 09:15 ver:3.9.5
+//time:2021/11/17 09:15 ver:2.4.0
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 df7a567..4f21da9 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 b480443..bb71a6e 100644
--- a/frameworks/WASdkIntf.framework/WASdkIntf
+++ b/frameworks/WASdkIntf.framework/WASdkIntf
Binary files differ

--
Gitblit v1.8.0