update: 初始化广告及对应的日志
							parent
							
								
									16a99087d9
								
							
						
					
					
						commit
						a962f7bb8c
					
				|  | @ -215,7 +215,7 @@ namespace Guru | |||
|         /// </summary> | ||||
|         internal static void StartAdService(AdsInitSpec spec = null) | ||||
|         { | ||||
|             LogI($"StartAdService"); | ||||
|             LogI($"--- StartAdService ::  IsBuyNoAds:{ADService.Instance.IsBuyNoAds}"); | ||||
|             if (spec == null) | ||||
|             { | ||||
|                 spec = AdsInitSpec.BuildDefault(InitConfig.AutoLoadWhenAdsReady, IsDebugMode); | ||||
|  |  | |||
|  | @ -201,7 +201,7 @@ namespace Guru | |||
|         private void InitAllServices() | ||||
|         { | ||||
|             bool useKeywords = false; | ||||
|             bool useIAP = true; | ||||
|             bool useIAP = _initConfig.IAPEnabled; | ||||
|             bool appleReview = false; | ||||
|              | ||||
|             var services = GetRemoteServicesConfig(); | ||||
|  | @ -209,8 +209,7 @@ namespace Guru | |||
|             { | ||||
|                 _appServicesConfig = services; | ||||
|                 useKeywords = _appServicesConfig.KeywordsEnabled(); | ||||
|                 useIAP = _appServicesConfig.IsIAPEnabled(); | ||||
|                  | ||||
|                 useIAP = _initConfig.IAPEnabled && _appServicesConfig.IsIAPEnabled(); | ||||
|                  | ||||
|                 Try(() => | ||||
|                 { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue