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;