We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddf8061 commit 01dfe2aCopy full SHA for 01dfe2a
1 file changed
src/lib/config.js
@@ -51,8 +51,8 @@ const config = {
51
},
52
};
53
54
-system.getInstaller(
55
- (installer) => {
+
+cordova.exec((installer) => {
56
config.IAP_AVAILABLE =
57
typeof iap !== "undefined" &&
58
installer != null &&
@@ -62,7 +62,6 @@ system.getInstaller(
62
(error) => {
63
console.error(error);
64
config.IAP_AVAILABLE = typeof iap !== "undefined";
65
- },
66
-);
+ }, 'System', 'getInstaller', []);
67
68
export default config;
0 commit comments