From f81f651420cf39c67e1d05e9352cb99329841a93 Mon Sep 17 00:00:00 2001
From: lpw <812862340@qq.com>
Date: Fri, 13 Mar 2026 09:10:37 +0800
Subject: [PATCH] 提交版本 4.11.0

---
 frameworks/WASdkImpl.framework/Headers/WASdkCore.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/frameworks/WASdkImpl.framework/Headers/WASdkCore.h b/frameworks/WASdkImpl.framework/Headers/WASdkCore.h
index d3e58ce..86d0163 100644
--- a/frameworks/WASdkImpl.framework/Headers/WASdkCore.h
+++ b/frameworks/WASdkImpl.framework/Headers/WASdkCore.h
@@ -11,7 +11,7 @@
 #import <WACommon/WACommon.h>
 NS_ASSUME_NONNULL_BEGIN
 #define WASdkLog(fmt,...) {\
-if([WACoreProxy isDebugMode]){\
+if([WACoreProxy displayLog]){\
 NSLog((@"WASDK LOG [(version %@) %s ]:" fmt), [WASdkCore getVersion],__FUNCTION__, ##__VA_ARGS__);\
 [WACoreProxy addLogWithString:[NSString stringWithFormat:(@"(version %@) %s ]:" fmt),[WASdkCore getVersion],__FUNCTION__, ##__VA_ARGS__]];\
 }\
@@ -119,6 +119,8 @@
 
 + (void)showConsentPreferences;
 
+//方法来控制同意设置按钮的显示和隐藏。如果不在生效地区(一般指欧盟),回调结果会返回false,此时应该隐藏按钮,否则返回true则需要显示
++ (void)checkConsentPreferencesWithCompletion:(void (^)(NSError *error, BOOL isShow))completionBlock;
 
 @end
 NS_ASSUME_NONNULL_END

--
Gitblit v1.8.0