From 6512ed327c6a0f39de68c6273535549c6ba0d569 Mon Sep 17 00:00:00 2001 From: huyufei Date: Fri, 31 May 2024 16:19:58 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E6=9B=B4=E6=96=B0=20SDK=20=E6=B3=A8?= =?UTF-8?q?=E5=85=A5=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: huyufei --- Runtime/GuruCore/Runtime/Settings/GuruSettings.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Runtime/GuruCore/Runtime/Settings/GuruSettings.cs b/Runtime/GuruCore/Runtime/Settings/GuruSettings.cs index c9c3217..bf10e46 100644 --- a/Runtime/GuruCore/Runtime/Settings/GuruSettings.cs +++ b/Runtime/GuruCore/Runtime/Settings/GuruSettings.cs @@ -94,7 +94,7 @@ namespace Guru public void UpdateAppSettings(string bundleId = "", string fbAppId = "", string supportEmail = "", string privacyUrl = "", string termsUrl = "", - string androidStoreUrl = "", string iosStoreUrl = "", string usingUUID = "", string cdnHost = "") + string androidStoreUrl = "", string iosStoreUrl = "", bool usingUUID = false, string cdnHost = "") { if (!string.IsNullOrEmpty(bundleId)) IPMSetting.bundleId = bundleId; if (!string.IsNullOrEmpty(supportEmail)) SupportEmail = supportEmail; @@ -104,7 +104,7 @@ namespace Guru if (!string.IsNullOrEmpty(iosStoreUrl)) IOSStoreUrl = iosStoreUrl; if (!string.IsNullOrEmpty(fbAppId)) IPMSetting.fbAppId = fbAppId; if (!string.IsNullOrEmpty(cdnHost)) IPMSetting.cdnHost = cdnHost; - if (!string.IsNullOrEmpty(usingUUID)) IPMSetting.usingUUID = usingUUID.ToLower() == "true" || usingUUID == "1"; + IPMSetting.usingUUID = usingUUID; } public string CdnHost() => IPMSetting.cdnHost;