update: 添加开启 ErrorLog 的云控标志位
							parent
							
								
									75909ccc1b
								
							
						
					
					
						commit
						7b6e8c7cbe
					
				|  | @ -55,7 +55,7 @@ namespace Guru | |||
|         //-------------------------------- Parameters -------------------------------- | ||||
|         public double Tch02Value() => parameters?.tch_020 ?? 0; | ||||
|         public bool IsAppReview() => parameters?.apple_review ?? false; | ||||
|         public bool EnableErrorLog() => parameters?.enable_errorlog ?? false; | ||||
|         public bool EnableAnaErrorLog() => parameters?.enable_errorlog ?? false; | ||||
|         public bool IsAdsCompliance() => parameters?.ads_compliance ?? false; | ||||
|         public bool DMACountryCheck() => parameters?.dma_country_check ?? false; | ||||
|         public string DMAMapRule() => parameters?.dma_map_rule ?? ""; | ||||
|  |  | |||
|  | @ -234,6 +234,7 @@ namespace Guru | |||
|             bool useKeywords = false; | ||||
|             bool useIAP = _initConfig.IAPEnabled; | ||||
|             bool appleReview = false; | ||||
|             bool enableAnaErrorLog = false; | ||||
|              | ||||
|             //----------- Set GuruServices ---------------- | ||||
|             var services = GetRemoteServicesConfig(); | ||||
|  | @ -243,7 +244,7 @@ namespace Guru | |||
|                 useKeywords = _appServicesConfig.KeywordsEnabled(); | ||||
|                 // 使用初始化配置中的 IAPEnable来联合限定, 如果本地写死关闭则不走云控开启 | ||||
|                 useIAP = _initConfig.IAPEnabled && _appServicesConfig.IsIAPEnabled();  | ||||
|                  | ||||
|                 enableAnaErrorLog = _appServicesConfig.EnableAnaErrorLog(); | ||||
|                  | ||||
|                 Try(() => | ||||
|                 { | ||||
|  | @ -251,7 +252,7 @@ namespace Guru | |||
|                     //---------------------------------------------------------------- | ||||
| 
 | ||||
|                     // 自打点设置错误上报 | ||||
|                     // GuruAnalytics.EnableErrorLog = _appServicesConfig.EnableErrorLog(); | ||||
|                     if(enableAnaErrorLog) GuruAnalytics.EnableErrorLog = true; | ||||
|                      | ||||
|                     // adjust 事件设置 | ||||
|                     if (null != _appServicesConfig.adjust_settings && null != GuruSettings) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue