@capgo/native-purchases 8.0.17 → 8.0.19
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.
package/Package.swift
CHANGED
|
@@ -10,7 +10,7 @@ let package = Package(
|
|
|
10
10
|
targets: ["NativePurchasesPlugin"])
|
|
11
11
|
],
|
|
12
12
|
dependencies: [
|
|
13
|
-
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.
|
|
13
|
+
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0")
|
|
14
14
|
],
|
|
15
15
|
targets: [
|
|
16
16
|
.target(
|
package/README.md
CHANGED
|
@@ -28,6 +28,17 @@ Perfect for apps monetizing through one-time purchases or recurring subscription
|
|
|
28
28
|
|
|
29
29
|
The most complete doc is available here: https://capgo.app/docs/plugins/native-purchases/
|
|
30
30
|
|
|
31
|
+
## Compatibility
|
|
32
|
+
|
|
33
|
+
| Plugin version | Capacitor compatibility | Maintained |
|
|
34
|
+
| -------------- | ----------------------- | ---------- |
|
|
35
|
+
| v8.\*.\* | v8.\*.\* | ✅ |
|
|
36
|
+
| v7.\*.\* | v7.\*.\* | On demand |
|
|
37
|
+
| v6.\*.\* | v6.\*.\* | ❌ |
|
|
38
|
+
| v5.\*.\* | v5.\*.\* | ❌ |
|
|
39
|
+
|
|
40
|
+
> **Note:** The major version of this plugin follows the major version of Capacitor. Use the version that matches your Capacitor installation (e.g., plugin v8 for Capacitor 8). Only the latest major version is actively maintained.
|
|
41
|
+
|
|
31
42
|
## Install
|
|
32
43
|
|
|
33
44
|
```bash
|
|
@@ -42,7 +42,7 @@ import org.json.JSONArray;
|
|
|
42
42
|
@CapacitorPlugin(name = "NativePurchases")
|
|
43
43
|
public class NativePurchasesPlugin extends Plugin {
|
|
44
44
|
|
|
45
|
-
private final String pluginVersion = "8.0.
|
|
45
|
+
private final String pluginVersion = "8.0.19";
|
|
46
46
|
public static final String TAG = "NativePurchases";
|
|
47
47
|
private static final Phaser semaphoreReady = new Phaser(1);
|
|
48
48
|
private BillingClient billingClient;
|
|
@@ -20,7 +20,7 @@ public class NativePurchasesPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
20
20
|
CAPPluginMethod(name: "isEntitledToOldBusinessModel", returnType: CAPPluginReturnPromise)
|
|
21
21
|
]
|
|
22
22
|
|
|
23
|
-
private let pluginVersion: String = "8.0.
|
|
23
|
+
private let pluginVersion: String = "8.0.19"
|
|
24
24
|
private var transactionUpdatesTask: Task<Void, Never>?
|
|
25
25
|
|
|
26
26
|
@objc func getPluginVersion(_ call: CAPPluginCall) {
|