update: version
parent
fa3ec5adef
commit
338c886ef6
|
|
@ -101,12 +101,18 @@ namespace Guru
|
||||||
public override string ToString()
|
public override string ToString()
|
||||||
{
|
{
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
sb.AppendLine($"------- Custom init Config -------");
|
sb.AppendLine($"------- Custom InitConfig -------");
|
||||||
sb.AppendLine($"\tUseCustomConsent: {UseCustomConsent}");
|
sb.AppendLine($"\t UseCustomConsent: {UseCustomConsent}");
|
||||||
sb.AppendLine($"\tAutoLoadWhenAdsReady: {AutoLoadWhenAdsReady}");
|
sb.AppendLine($"\t AutoLoadWhenAdsReady: {AutoLoadWhenAdsReady}");
|
||||||
sb.AppendLine($"\tIAPEnabled: {IAPEnabled}");
|
sb.AppendLine($"\t IAPEnabled: {IAPEnabled}");
|
||||||
sb.AppendLine($"\tShowDebugLog: {DebugMode}");
|
sb.AppendLine($"\t AutoNotificationPermission: {AutoNotificationPermission}");
|
||||||
sb.AppendLine($"------- Custom init Config -------");
|
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();
|
return sb.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -280,7 +280,7 @@ namespace Guru
|
||||||
UnityEngine.Debug.Log($"[SDK] ---- RequestNotificationPermission");
|
UnityEngine.Debug.Log($"[SDK] ---- RequestNotificationPermission");
|
||||||
NotificationService.RequestPermission(status =>
|
NotificationService.RequestPermission(status =>
|
||||||
{
|
{
|
||||||
UnityEngine.Debug.Log($"[SDK] ---- Get Notification Permission:{status}");
|
UnityEngine.Debug.Log($"[SDK] ---- Get Notification Permission: {status}");
|
||||||
SetNotiPerm(status);
|
SetNotiPerm(status);
|
||||||
callback?.Invoke(status);
|
callback?.Invoke(status);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,6 @@ namespace Guru
|
||||||
|
|
||||||
#if UNITY_ANDROID
|
#if UNITY_ANDROID
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取 AndroidSDK 的系统版本号
|
/// 获取 AndroidSDK 的系统版本号
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -76,14 +75,8 @@ namespace Guru
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,10 @@ namespace Guru
|
||||||
|
|
||||||
public partial class GuruSDK: MonoBehaviour
|
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 Tag = "[Guru]";
|
||||||
public const string ServicesConfigKey = "guru_services";
|
public const string ServicesConfigKey = "guru_services";
|
||||||
|
|
||||||
|
|
@ -754,7 +756,6 @@ namespace Guru
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue