diff --git a/Runtime/Code/SDK/GuruSDK.Ads.cs b/Runtime/Code/SDK/GuruSDK.Ads.cs index e9e774a..a2fc020 100644 --- a/Runtime/Code/SDK/GuruSDK.Ads.cs +++ b/Runtime/Code/SDK/GuruSDK.Ads.cs @@ -215,7 +215,7 @@ namespace Guru /// internal static void StartAdService(AdsInitSpec spec = null) { - LogI($"StartAdService"); + LogI($"--- StartAdService :: IsBuyNoAds:{ADService.Instance.IsBuyNoAds}"); if (spec == null) { spec = AdsInitSpec.BuildDefault(InitConfig.AutoLoadWhenAdsReady, IsDebugMode); diff --git a/Runtime/Code/SDK/GuruSDK.cs b/Runtime/Code/SDK/GuruSDK.cs index 8635e0f..c1cc02a 100644 --- a/Runtime/Code/SDK/GuruSDK.cs +++ b/Runtime/Code/SDK/GuruSDK.cs @@ -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(() => {