diff --git a/Runtime/Code/Config/GuruSDKInitConfig.cs b/Runtime/Code/Config/GuruSDKInitConfig.cs index fa361b7..0662e43 100644 --- a/Runtime/Code/Config/GuruSDKInitConfig.cs +++ b/Runtime/Code/Config/GuruSDKInitConfig.cs @@ -101,12 +101,18 @@ namespace Guru public override string ToString() { StringBuilder sb = new StringBuilder(); - sb.AppendLine($"------- Custom init Config -------"); - sb.AppendLine($"\tUseCustomConsent: {UseCustomConsent}"); - sb.AppendLine($"\tAutoLoadWhenAdsReady: {AutoLoadWhenAdsReady}"); - sb.AppendLine($"\tIAPEnabled: {IAPEnabled}"); - sb.AppendLine($"\tShowDebugLog: {DebugMode}"); - sb.AppendLine($"------- Custom init Config -------"); + sb.AppendLine($"------- Custom InitConfig -------"); + sb.AppendLine($"\t UseCustomConsent: {UseCustomConsent}"); + sb.AppendLine($"\t AutoLoadWhenAdsReady: {AutoLoadWhenAdsReady}"); + sb.AppendLine($"\t IAPEnabled: {IAPEnabled}"); + sb.AppendLine($"\t AutoNotificationPermission: {AutoNotificationPermission}"); + sb.AppendLine($"\t AutoRecordFinishedLevels: {AutoRecordFinishedLevels}"); + sb.AppendLine($"\t CustomServiceKey: {CustomServiceKey}"); + sb.AppendLine($"\t BannerBackgroundColor: {BannerBackgroundColor}"); + sb.AppendLine($"\t IsBuyNoAds: {IsBuyNoAds}"); + sb.AppendLine($"\t DebugMode: {DebugMode}"); + sb.AppendLine($"\t DefaultRemote: Count: {DefaultRemoteData.Count}"); + sb.AppendLine($"------- Custom InitConfig -------"); return sb.ToString(); } diff --git a/Runtime/Code/SDK/GuruSDK.Ads.cs b/Runtime/Code/SDK/GuruSDK.Ads.cs index 10e9d04..31bd983 100644 --- a/Runtime/Code/SDK/GuruSDK.Ads.cs +++ b/Runtime/Code/SDK/GuruSDK.Ads.cs @@ -280,7 +280,7 @@ namespace Guru UnityEngine.Debug.Log($"[SDK] ---- RequestNotificationPermission"); NotificationService.RequestPermission(status => { - UnityEngine.Debug.Log($"[SDK] ---- Get Notification Permission:{status}"); + UnityEngine.Debug.Log($"[SDK] ---- Get Notification Permission: {status}"); SetNotiPerm(status); callback?.Invoke(status); }); diff --git a/Runtime/Code/SDK/GuruSDK.System.cs b/Runtime/Code/SDK/GuruSDK.System.cs index be5a66c..0c41d89 100644 --- a/Runtime/Code/SDK/GuruSDK.System.cs +++ b/Runtime/Code/SDK/GuruSDK.System.cs @@ -49,7 +49,6 @@ namespace Guru #region Android System #if UNITY_ANDROID - /// /// 获取 AndroidSDK 的系统版本号 @@ -76,13 +75,7 @@ namespace Guru return 0; } - - #endif - - - - #endregion diff --git a/Runtime/Code/SDK/GuruSDK.cs b/Runtime/Code/SDK/GuruSDK.cs index 209bbd3..ab8f4d5 100644 --- a/Runtime/Code/SDK/GuruSDK.cs +++ b/Runtime/Code/SDK/GuruSDK.cs @@ -9,8 +9,10 @@ namespace Guru public partial class GuruSDK: MonoBehaviour { + // SDK_VERSION + public const string Version = "1.0.13"; - public const string Version = "1.0.12"; //SDK_VERSION + // Const public const string Tag = "[Guru]"; public const string ServicesConfigKey = "guru_services"; @@ -753,8 +755,7 @@ namespace Guru request.Send(); } } - - + #endregion } } \ No newline at end of file