From b7a5bed1c598b1ba32a1a5b6c755d22f4d6b3066 Mon Sep 17 00:00:00 2001 From: Rohit Kushwaha Date: Sun, 10 May 2026 19:09:54 +0530 Subject: [PATCH] fix: syntax error --- src/lib/config.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/lib/config.js b/src/lib/config.js index 2d9b2444f..0fa05e784 100644 --- a/src/lib/config.js +++ b/src/lib/config.js @@ -51,8 +51,8 @@ const config = { }, }; -system.getInstaller( - (installer) => { + +cordova.exec((installer) => { config.IAP_AVAILABLE = typeof iap !== "undefined" && installer != null && @@ -62,7 +62,6 @@ system.getInstaller( (error) => { console.error(error); config.IAP_AVAILABLE = typeof iap !== "undefined"; - }, -); + }, 'System', 'getInstaller', []); export default config;