update: 新增 Crashlytics 上报 CustomKey 的接口
parent
d471e5c00b
commit
ebcdc9ccbf
|
|
@ -1,5 +1,9 @@
|
||||||
# Guru Unity Consent
|
# Guru Unity Consent
|
||||||
|
|
||||||
|
## Version 1.0.7
|
||||||
|
* 更新 Consent 针对 Json 参数的回调和解析逻辑.
|
||||||
|
|
||||||
|
|
||||||
## Version 1.0.6
|
## 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)
|
* 更新了Google DMA 合规策略, 请查询详细的 [Google Ads Consent Mode DMA合规 技术需求文档](https://docs.google.com/document/d/1p7ad-W6XnqPjMgFkvoVf1Yylsogm_PykD9_nauInVoI/edit#heading=h.42lwhi7yczmk)
|
||||||
* 已集成了中台的 `dma_gg` 点位
|
* 已集成了中台的 `dma_gg` 点位
|
||||||
|
|
|
||||||
|
|
@ -118,11 +118,7 @@ namespace Guru
|
||||||
|
|
||||||
public static void Log(string msg)
|
public static void Log(string msg)
|
||||||
{
|
{
|
||||||
if (!_isReady)
|
if (!_isReady) return;
|
||||||
{
|
|
||||||
Install();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
Crashlytics.Log(msg);
|
Crashlytics.Log(msg);
|
||||||
CheckSetUser();
|
CheckSetUser();
|
||||||
}
|
}
|
||||||
|
|
@ -139,6 +135,14 @@ namespace Guru
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public static void SetCustomKey(string key, string value)
|
||||||
|
{
|
||||||
|
if (!_isReady) return;
|
||||||
|
Crashlytics.SetCustomKey(key, value);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue