update: 新增 Crashlytics 上报 CustomKey 的接口

deeplink
胡宇飞 2024-03-20 15:15:20 +08:00
parent d471e5c00b
commit ebcdc9ccbf
2 changed files with 13 additions and 5 deletions

View File

@ -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` 点位

View File

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