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