update: version

dev
胡宇飞 2024-06-21 14:39:55 +08:00
parent fa3ec5adef
commit 338c886ef6
4 changed files with 17 additions and 17 deletions

View File

@ -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();
}

View File

@ -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);
});

View File

@ -49,7 +49,6 @@ namespace Guru
#region Android System
#if UNITY_ANDROID
/// <summary>
/// 获取 AndroidSDK 的系统版本号
@ -76,13 +75,7 @@ namespace Guru
return 0;
}
#endif
#endregion

View File

@ -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
}
}