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