F: disable loom and fix event reporting
Signed-off-by: huyufei <yufei.hu@castbox.fm>deeplink
parent
4c899f9aeb
commit
a9346bc1bb
|
|
@ -171,9 +171,6 @@ namespace Guru
|
||||||
{
|
{
|
||||||
if (adInfo == null) return;
|
if (adInfo == null) return;
|
||||||
|
|
||||||
// 在主线程中计算相关的收益值
|
|
||||||
Loom.QueueOnMainThread(() =>
|
|
||||||
{
|
|
||||||
// #1. ad_impression
|
// #1. ad_impression
|
||||||
OnAdImpression(adInfo);
|
OnAdImpression(adInfo);
|
||||||
|
|
||||||
|
|
@ -184,7 +181,7 @@ namespace Guru
|
||||||
|
|
||||||
// #3. Adjust ad_revenue
|
// #3. Adjust ad_revenue
|
||||||
AdjustService.TrackADRevenue(adInfo);
|
AdjustService.TrackADRevenue(adInfo);
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ namespace Guru
|
||||||
_isDebug = isDebug;
|
_isDebug = isDebug;
|
||||||
Analytics.InitAnalytics(); // 打点提前初始化
|
Analytics.InitAnalytics(); // 打点提前初始化
|
||||||
|
|
||||||
Loom.StartUp(); // 确保主线程开启
|
// Loom.StartUp(); // 确保主线程开启
|
||||||
|
|
||||||
// 初始化 Fireabse 依赖
|
// 初始化 Fireabse 依赖
|
||||||
FirebaseApp.CheckAndFixDependenciesAsync().ContinueWithOnMainThread(task => {
|
FirebaseApp.CheckAndFixDependenciesAsync().ContinueWithOnMainThread(task => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue