From c50c5d170e6191a14a55af43454ff01fe7f8d1d0 Mon Sep 17 00:00:00 2001 From: huyufei Date: Mon, 4 Mar 2024 13:12:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20Android=20=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=20ATT=20=E5=BC=95=E7=94=A8=E6=8A=A5=E9=94=99=E7=9A=84?= =?UTF-8?q?=20BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/Code/SDK/GuruSDK.Ads.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Runtime/Code/SDK/GuruSDK.Ads.cs b/Runtime/Code/SDK/GuruSDK.Ads.cs index d7a6173..cb3e154 100644 --- a/Runtime/Code/SDK/GuruSDK.Ads.cs +++ b/Runtime/Code/SDK/GuruSDK.Ads.cs @@ -65,8 +65,6 @@ namespace Guru if (_hasConsentCalled) return; _hasConsentCalled = true; - _attType = InitConfig.UseCustomConsent ? ATTManager.GUIDE_TYPE_CUSTOM : ATTManager.GUIDE_TYPE_ADMOB; // 点位属性确定 - bool enableCountryCheck = _appServicesConfig.DMACountryCheck(); string dmaMapRule = _appServicesConfig.DMAMapRule(); @@ -128,6 +126,7 @@ namespace Guru /// public static void InitAttStatus() { + _attType = InitConfig.UseCustomConsent ? ATTManager.GUIDE_TYPE_CUSTOM : ATTManager.GUIDE_TYPE_ADMOB; // 点位属性确定 _initialAttStatus = ATTManager.GetStatus(); SetUserProperty(Analytics.ParameterATTStatus, _initialAttStatus); // 上报一个初始的状态 }