fix: 修复经济打点只上传 Firebase 的 bug
Signed-off-by: huyufei <yufei.hu@castbox.fm>
parent
19160467b1
commit
61ff5027d4
|
|
@ -103,7 +103,11 @@ namespace Guru
|
|||
if(!string.IsNullOrEmpty(scene)) data[ParameterScene] = scene; // 获取的虚拟货币或者道具的场景
|
||||
if (extra != null) data.AddRange(extra, isOverride: true);
|
||||
|
||||
TrackEvent(EventEarnVirtualCurrency, data, new EventSetting() { EnableFirebaseAnalytics = true });
|
||||
TrackEvent(EventEarnVirtualCurrency, data, new EventSetting()
|
||||
{
|
||||
EnableFirebaseAnalytics = true,
|
||||
EnableGuruAnalytics = true
|
||||
});
|
||||
|
||||
// FB 上报收入点
|
||||
FBService.LogEvent(EventEarnVirtualCurrency, value, data);
|
||||
|
|
@ -131,7 +135,11 @@ namespace Guru
|
|||
|
||||
if(!string.IsNullOrEmpty(scene)) data[ParameterScene] = scene; // 获取的虚拟货币或者道具的场景
|
||||
|
||||
TrackEvent(EventSpendVirtualCurrency, data, new EventSetting() { EnableFirebaseAnalytics = true });
|
||||
TrackEvent(EventSpendVirtualCurrency, data, new EventSetting()
|
||||
{
|
||||
EnableFirebaseAnalytics = true,
|
||||
EnableGuruAnalytics = true
|
||||
});
|
||||
|
||||
// FB 上报消费点
|
||||
FBService.LogEvent(EventSpendVirtualCurrency, value, data);
|
||||
|
|
|
|||
Loading…
Reference in New Issue