From 75745ceb110b250a26707f2bd5f3de995ac6897a Mon Sep 17 00:00:00 2001 From: huyufei Date: Mon, 18 Mar 2024 09:37:28 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E5=90=AF=E5=8A=A8=E6=97=B6=20IAP=20?= =?UTF-8?q?=E5=BC=80=E5=85=B3=E5=B0=86=E7=94=B1InitConfig=20=E7=9A=84=20IA?= =?UTF-8?q?PEnabled=20=E4=BB=A5=E5=8F=8AGuruService=20=E5=86=85=E4=BA=91?= =?UTF-8?q?=E6=8E=A7=E5=BC=80=E5=85=B3=E8=81=94=E5=90=88=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/Code/SDK/GuruSDK.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Runtime/Code/SDK/GuruSDK.cs b/Runtime/Code/SDK/GuruSDK.cs index 0554df4..f1b9297 100644 --- a/Runtime/Code/SDK/GuruSDK.cs +++ b/Runtime/Code/SDK/GuruSDK.cs @@ -209,7 +209,8 @@ namespace Guru { _appServicesConfig = services; useKeywords = _appServicesConfig.KeywordsEnabled(); - useIAP = _appServicesConfig.IsIAPEnabled(); + // 使用初始化配置中的 IAPEnable来联合限定, 如果本地写死关闭则不走云控开启 + useIAP = _initConfig.IAPEnabled && _appServicesConfig.IsIAPEnabled(); Try(() =>