@purchasely/cordova-plugin-purchasely 5.4.0 → 5.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,6 @@
3
3
  cordova plugin remove @purchasely/cordova-plugin-purchasely
4
4
  cordova plugin remove @purchasely/cordova-plugin-puchasely-google
5
5
  cordova platform remove android
6
- cordova platform add android@14.0.0
6
+ cordova platform add android@14.0.1
7
7
  cordova plugin add ../ --link
8
8
  cordova plugin add ../../purchasely-google/ --link
@@ -18,6 +18,7 @@
18
18
  <platform name="android">
19
19
  <allow-intent href="market:*" />
20
20
  <preference name="GradlePluginKotlinEnabled" value="true" />
21
+ <preference name="GradlePluginKotlinVersion" value="2.1.21" />
21
22
  <!--<edit-config
22
23
  file="AndroidManifest.xml"
23
24
  target="/manifest/application/activity[@android:name='cordova.plugin.purchasely.PLYProductActivity']"
package/example/ios.sh CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  cordova plugin remove @purchasely/cordova-plugin-purchasely
4
4
  cordova platform remove ios
5
- cordova platform add ios@7.0.1
5
+ cordova platform add ios@7.1.1
6
6
  cordova plugin add ../ --link
7
7
 
8
8
  if [[ $1 = true ]]
@@ -11,15 +11,15 @@
11
11
  "devDependencies": {
12
12
  "@purchasely/cordova-plugin-puchasely-google": "file:../../purchasely-google",
13
13
  "@purchasely/cordova-plugin-purchasely": "file:..",
14
- "cordova-android": "^14.0.0",
15
- "cordova-ios": "^7.0.1",
14
+ "cordova-android": "^14.0.1",
15
+ "cordova-ios": "^7.1.1",
16
16
  "cordova-plugin-puchasely-google": "file:../../purchasely-google",
17
17
  "cordova-plugin-purchasely": "file:.."
18
18
  }
19
19
  },
20
20
  "..": {
21
21
  "name": "@purchasely/cordova-plugin-purchasely",
22
- "version": "5.4.0",
22
+ "version": "5.5.0",
23
23
  "dev": true,
24
24
  "license": "ISC",
25
25
  "engines": {
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "../../purchasely-google": {
35
35
  "name": "@purchasely/cordova-plugin-puchasely-google",
36
- "version": "5.4.0",
36
+ "version": "5.5.0",
37
37
  "dev": true,
38
38
  "license": "ISC"
39
39
  },
@@ -96,9 +96,9 @@
96
96
  "link": true
97
97
  },
98
98
  "node_modules/@xmldom/xmldom": {
99
- "version": "0.8.10",
100
- "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.10.tgz",
101
- "integrity": "sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==",
99
+ "version": "0.8.11",
100
+ "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.11.tgz",
101
+ "integrity": "sha512-cQzWCtO6C8TQiYl1ruKNn2U6Ao4o4WBBcbL61yJl84x+j5sOWWFU9X7DpND8XZG3daDppSsigMdfAIl2upQBRw==",
102
102
  "dev": true,
103
103
  "license": "MIT",
104
104
  "engines": {
@@ -106,13 +106,13 @@
106
106
  }
107
107
  },
108
108
  "node_modules/abbrev": {
109
- "version": "2.0.0",
110
- "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-2.0.0.tgz",
111
- "integrity": "sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==",
109
+ "version": "3.0.1",
110
+ "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-3.0.1.tgz",
111
+ "integrity": "sha512-AO2ac6pjRB3SJmGJo+v5/aK6Omggp6fsLrs6wN9bd35ulu4cCwaAU9+7ZhXjeqHVkaHThLuzH0nZr0YpCDhygg==",
112
112
  "dev": true,
113
113
  "license": "ISC",
114
114
  "engines": {
115
- "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
115
+ "node": "^18.17.0 || >=20.5.0"
116
116
  }
117
117
  },
118
118
  "node_modules/android-versions": {
@@ -235,9 +235,9 @@
235
235
  "license": "MIT"
236
236
  },
237
237
  "node_modules/cordova-android": {
238
- "version": "14.0.0",
239
- "resolved": "https://registry.npmjs.org/cordova-android/-/cordova-android-14.0.0.tgz",
240
- "integrity": "sha512-aPlN2aBfC/OlZOlCR66x9GYBfnHTlmm2Dd1eYcqB+Mwm0wJFlA272psHmfiMqA5VRT5UpFyCQ5x6B1YA9h2uHg==",
238
+ "version": "14.0.1",
239
+ "resolved": "https://registry.npmjs.org/cordova-android/-/cordova-android-14.0.1.tgz",
240
+ "integrity": "sha512-HMBMdGu/JlSQtmBuDEpKWf/pE75SpF3FksxZ+mqYuL3qSIN8lN/QsNurwYaPAP7zWXN2DNpvwlpOJItS5VhdLg==",
241
241
  "dev": true,
242
242
  "license": "Apache-2.0",
243
243
  "dependencies": {
@@ -258,32 +258,6 @@
258
258
  "node": ">=20.5.0"
259
259
  }
260
260
  },
261
- "node_modules/cordova-android/node_modules/abbrev": {
262
- "version": "3.0.1",
263
- "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-3.0.1.tgz",
264
- "integrity": "sha512-AO2ac6pjRB3SJmGJo+v5/aK6Omggp6fsLrs6wN9bd35ulu4cCwaAU9+7ZhXjeqHVkaHThLuzH0nZr0YpCDhygg==",
265
- "dev": true,
266
- "license": "ISC",
267
- "engines": {
268
- "node": "^18.17.0 || >=20.5.0"
269
- }
270
- },
271
- "node_modules/cordova-android/node_modules/nopt": {
272
- "version": "8.1.0",
273
- "resolved": "https://registry.npmjs.org/nopt/-/nopt-8.1.0.tgz",
274
- "integrity": "sha512-ieGu42u/Qsa4TFktmaKEwM6MQH0pOWnaB3htzh0JRtx84+Mebc0cbZYN5bC+6WTZ4+77xrL9Pn5m7CV6VIkV7A==",
275
- "dev": true,
276
- "license": "ISC",
277
- "dependencies": {
278
- "abbrev": "^3.0.0"
279
- },
280
- "bin": {
281
- "nopt": "bin/nopt.js"
282
- },
283
- "engines": {
284
- "node": "^18.17.0 || >=20.5.0"
285
- }
286
- },
287
261
  "node_modules/cordova-common": {
288
262
  "version": "5.0.1",
289
263
  "resolved": "https://registry.npmjs.org/cordova-common/-/cordova-common-5.0.1.tgz",
@@ -309,21 +283,19 @@
309
283
  }
310
284
  },
311
285
  "node_modules/cordova-ios": {
312
- "version": "7.0.1",
313
- "resolved": "https://registry.npmjs.org/cordova-ios/-/cordova-ios-7.0.1.tgz",
314
- "integrity": "sha512-WaG3bgOlIQukY8rOhTuA0p2PckBxogSCSOGfWamp4BnaWFoiVm65r4kFqr7PsPguVMbe0t4h4nQTpopxB2LTEQ==",
286
+ "version": "7.1.1",
287
+ "resolved": "https://registry.npmjs.org/cordova-ios/-/cordova-ios-7.1.1.tgz",
288
+ "integrity": "sha512-JwTyPxWcAZlbIOR5QO6TaJzkoSzfrp7jrlX01bWZ7Sxp0PYXejAJbA6J0W4u11M+atrQRNimNltZDyAlSBW2tw==",
315
289
  "dev": true,
316
290
  "license": "Apache-2.0",
317
291
  "dependencies": {
318
292
  "cordova-common": "^5.0.0",
293
+ "elementtree": "^0.1.7",
319
294
  "execa": "^5.1.1",
320
- "fs-extra": "^11.1.1",
321
295
  "ios-sim": "^8.0.2",
322
- "nopt": "^7.1.0",
323
296
  "plist": "^3.0.6",
324
297
  "semver": "^7.4.0",
325
- "unorm": "^1.6.0",
326
- "which": "^3.0.0",
298
+ "which": "^4.0.0",
327
299
  "xcode": "^3.0.1",
328
300
  "xml-escape": "^1.1.0"
329
301
  },
@@ -331,27 +303,20 @@
331
303
  "node": ">=16.13.0"
332
304
  }
333
305
  },
334
- "node_modules/cordova-ios/node_modules/isexe": {
335
- "version": "2.0.0",
336
- "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
337
- "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
338
- "dev": true,
339
- "license": "ISC"
340
- },
341
306
  "node_modules/cordova-ios/node_modules/which": {
342
- "version": "3.0.1",
343
- "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz",
344
- "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==",
307
+ "version": "4.0.0",
308
+ "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz",
309
+ "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==",
345
310
  "dev": true,
346
311
  "license": "ISC",
347
312
  "dependencies": {
348
- "isexe": "^2.0.0"
313
+ "isexe": "^3.1.1"
349
314
  },
350
315
  "bin": {
351
316
  "node-which": "bin/which.js"
352
317
  },
353
318
  "engines": {
354
- "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
319
+ "node": "^16.13.0 || >=18.0.0"
355
320
  }
356
321
  },
357
322
  "node_modules/cordova-plugin-puchasely-google": {
@@ -528,21 +493,6 @@
528
493
  "node": ">=8"
529
494
  }
530
495
  },
531
- "node_modules/fs-extra": {
532
- "version": "11.3.2",
533
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.2.tgz",
534
- "integrity": "sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==",
535
- "dev": true,
536
- "license": "MIT",
537
- "dependencies": {
538
- "graceful-fs": "^4.2.0",
539
- "jsonfile": "^6.0.1",
540
- "universalify": "^2.0.0"
541
- },
542
- "engines": {
543
- "node": ">=14.14"
544
- }
545
- },
546
496
  "node_modules/fs.realpath": {
547
497
  "version": "1.0.0",
548
498
  "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
@@ -608,13 +558,6 @@
608
558
  "node": ">= 6"
609
559
  }
610
560
  },
611
- "node_modules/graceful-fs": {
612
- "version": "4.2.11",
613
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
614
- "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
615
- "dev": true,
616
- "license": "ISC"
617
- },
618
561
  "node_modules/hasown": {
619
562
  "version": "2.0.2",
620
563
  "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
@@ -798,19 +741,6 @@
798
741
  "node": ">=16"
799
742
  }
800
743
  },
801
- "node_modules/jsonfile": {
802
- "version": "6.2.0",
803
- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.0.tgz",
804
- "integrity": "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==",
805
- "dev": true,
806
- "license": "MIT",
807
- "dependencies": {
808
- "universalify": "^2.0.0"
809
- },
810
- "optionalDependencies": {
811
- "graceful-fs": "^4.1.6"
812
- }
813
- },
814
744
  "node_modules/lodash": {
815
745
  "version": "4.17.21",
816
746
  "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
@@ -880,19 +810,19 @@
880
810
  }
881
811
  },
882
812
  "node_modules/nopt": {
883
- "version": "7.2.1",
884
- "resolved": "https://registry.npmjs.org/nopt/-/nopt-7.2.1.tgz",
885
- "integrity": "sha512-taM24ViiimT/XntxbPyJQzCG+p4EKOpgD3mxFwW38mGjVUrfERQOeY4EDHjdnptttfHuHQXFx+lTP08Q+mLa/w==",
813
+ "version": "8.1.0",
814
+ "resolved": "https://registry.npmjs.org/nopt/-/nopt-8.1.0.tgz",
815
+ "integrity": "sha512-ieGu42u/Qsa4TFktmaKEwM6MQH0pOWnaB3htzh0JRtx84+Mebc0cbZYN5bC+6WTZ4+77xrL9Pn5m7CV6VIkV7A==",
886
816
  "dev": true,
887
817
  "license": "ISC",
888
818
  "dependencies": {
889
- "abbrev": "^2.0.0"
819
+ "abbrev": "^3.0.0"
890
820
  },
891
821
  "bin": {
892
822
  "nopt": "bin/nopt.js"
893
823
  },
894
824
  "engines": {
895
- "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
825
+ "node": "^18.17.0 || >=20.5.0"
896
826
  }
897
827
  },
898
828
  "node_modules/npm-run-path": {
@@ -1096,13 +1026,13 @@
1096
1026
  }
1097
1027
  },
1098
1028
  "node_modules/resolve": {
1099
- "version": "1.22.10",
1100
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz",
1101
- "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==",
1029
+ "version": "1.22.11",
1030
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.11.tgz",
1031
+ "integrity": "sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ==",
1102
1032
  "dev": true,
1103
1033
  "license": "MIT",
1104
1034
  "dependencies": {
1105
- "is-core-module": "^2.16.0",
1035
+ "is-core-module": "^2.16.1",
1106
1036
  "path-parse": "^1.0.7",
1107
1037
  "supports-preserve-symlinks-flag": "^1.0.0"
1108
1038
  },
@@ -1159,9 +1089,9 @@
1159
1089
  "license": "ISC"
1160
1090
  },
1161
1091
  "node_modules/semver": {
1162
- "version": "7.7.1",
1163
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz",
1164
- "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==",
1092
+ "version": "7.7.3",
1093
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
1094
+ "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
1165
1095
  "dev": true,
1166
1096
  "license": "ISC",
1167
1097
  "bin": {
@@ -1330,26 +1260,6 @@
1330
1260
  "node": ">=8.0"
1331
1261
  }
1332
1262
  },
1333
- "node_modules/universalify": {
1334
- "version": "2.0.1",
1335
- "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
1336
- "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
1337
- "dev": true,
1338
- "license": "MIT",
1339
- "engines": {
1340
- "node": ">= 10.0.0"
1341
- }
1342
- },
1343
- "node_modules/unorm": {
1344
- "version": "1.6.0",
1345
- "resolved": "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz",
1346
- "integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==",
1347
- "dev": true,
1348
- "license": "MIT or GPL-2.0",
1349
- "engines": {
1350
- "node": ">= 0.4.0"
1351
- }
1352
- },
1353
1263
  "node_modules/untildify": {
1354
1264
  "version": "4.0.0",
1355
1265
  "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz",
@@ -15,18 +15,16 @@
15
15
  "devDependencies": {
16
16
  "@purchasely/cordova-plugin-puchasely-google": "file:../../purchasely-google",
17
17
  "@purchasely/cordova-plugin-purchasely": "file:..",
18
- "cordova-android": "^14.0.0",
19
- "cordova-ios": "^7.0.1",
18
+ "cordova-android": "^14.0.1",
19
+ "cordova-ios": "^7.1.1",
20
20
  "cordova-plugin-puchasely-google": "file:../../purchasely-google",
21
21
  "cordova-plugin-purchasely": "file:.."
22
22
  },
23
23
  "cordova": {
24
24
  "plugins": {
25
- "@purchasely/cordova-plugin-purchasely": {},
26
25
  "@purchasely/cordova-plugin-puchasely-google": {}
27
26
  },
28
27
  "platforms": [
29
- "ios",
30
28
  "android"
31
29
  ]
32
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purchasely/cordova-plugin-purchasely",
3
- "version": "5.4.0",
3
+ "version": "5.5.0",
4
4
  "description": "Purchasely is a solution to ease the integration and boost your In-App Purchases & Subscriptions on the App Store, Google Play Store, Amazon Appstore and Huawei App Gallery.",
5
5
  "cordova": {
6
6
  "id": "@purchasely/cordova-plugin-purchasely",
package/plugin.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version='1.0' encoding='utf-8'?>
2
- <plugin id="@purchasely/cordova-plugin-purchasely" version="5.4.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
2
+ <plugin id="@purchasely/cordova-plugin-purchasely" version="5.5.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
3
3
  <name>Purchasely</name>
4
4
  <js-module name="Purchasely" src="www/Purchasely.js">
5
5
  <clobbers target="Purchasely" />
@@ -38,7 +38,7 @@
38
38
  <source url="https://github.com/CocoaPods/Specs.git"/>
39
39
  </config>
40
40
  <pods use-frameworks="true">
41
- <pod name="Purchasely" spec="5.4.1"/>
41
+ <pod name="Purchasely" spec="5.5.0"/>
42
42
  </pods>
43
43
  </podspec>
44
44
  </platform>
@@ -63,7 +63,7 @@
63
63
  android:theme="@style/Theme.AppCompat.Light.NoActionBar">
64
64
  </activity>
65
65
  </config-file>
66
- <framework src="io.purchasely:core:5.4.0" />
66
+ <framework src="io.purchasely:core:5.5.0" />
67
67
  <source-file src="src/android/PurchaselyPlugin.kt" target-dir="java/cordova/plugin/purchasely" />
68
68
  <source-file src="src/android/PLYProductActivity.kt" target-dir="java/cordova/plugin/purchasely" />
69
69
  <source-file src="src/android/PLYSubscriptionsActivity.java" target-dir="src/cordova/plugin/purchasely" />
package/www/Purchasely.js CHANGED
@@ -5,7 +5,7 @@ var defaultError = (e) => { console.log(e); }
5
5
  exports.start = function (apiKey, stores, storekit1, userId, logLevel, runningMode, success, error) {
6
6
  var cordovaSdkVersion = cordova.define.moduleMap['cordova/plugin_list'].exports['metadata']['cordova-plugin-purchasely']
7
7
  if(!cordovaSdkVersion) {
8
- cordovaSdkVersion = "5.4.0";
8
+ cordovaSdkVersion = "5.5.0";
9
9
  }
10
10
  exec(success, error, 'Purchasely', 'start', [apiKey, stores, storekit1, userId, logLevel, runningMode, cordovaSdkVersion]);
11
11
  };