parent
225197c867
commit
6512ed327c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue