diff --git a/Runtime/GuruConsent/README.md b/Runtime/GuruConsent/README.md index 0303b5a..2ab12b3 100644 --- a/Runtime/GuruConsent/README.md +++ b/Runtime/GuruConsent/README.md @@ -1,5 +1,9 @@ # Guru Unity Consent +## Version 1.0.7 +* 更新 Consent 针对 Json 参数的回调和解析逻辑. + + ## Version 1.0.6 * 更新了Google DMA 合规策略, 请查询详细的 [Google Ads Consent Mode DMA合规 技术需求文档](https://docs.google.com/document/d/1p7ad-W6XnqPjMgFkvoVf1Yylsogm_PykD9_nauInVoI/edit#heading=h.42lwhi7yczmk) * 已集成了中台的 `dma_gg` 点位 diff --git a/Runtime/GuruCore/Runtime/Reporter/CrashlyticsAgent.cs b/Runtime/GuruCore/Runtime/Reporter/CrashlyticsAgent.cs index ba2ce88..c8d5579 100644 --- a/Runtime/GuruCore/Runtime/Reporter/CrashlyticsAgent.cs +++ b/Runtime/GuruCore/Runtime/Reporter/CrashlyticsAgent.cs @@ -118,11 +118,7 @@ namespace Guru public static void Log(string msg) { - if (!_isReady) - { - Install(); - return; - } + if (!_isReady) return; Crashlytics.Log(msg); CheckSetUser(); } @@ -139,6 +135,14 @@ namespace Guru } } } + + + public static void SetCustomKey(string key, string value) + { + if (!_isReady) return; + Crashlytics.SetCustomKey(key, value); + } + } } \ No newline at end of file