@capgo/native-purchases 8.9.3 โ 8.9.5
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/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Sell in-app purchases and subscriptions in your Capacitor app with StoreKit on iOS and Google Play Billing on Android, without a third-party payments service.
|
|
4
4
|
|
|
5
|
-
<a href="https://capgo.app/?ref=plugin_native_purchases"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-native-purchases" alt="Capgo -
|
|
5
|
+
<a href="https://capgo.app/?ref=plugin_native_purchases"><img src="https://capgo.app/readme-banner.svg?repo=Cap-go/capacitor-native-purchases" alt="Capgo - Build Capacitor apps with AI, ship updates instantly" /></a>
|
|
6
6
|
|
|
7
7
|
<div align="center">
|
|
8
8
|
<p><b>Capgo</b>: push fixes to your Capacitor users in minutes, build signed iOS and Android apps without a Mac, and roll back in one click.</p>
|
|
@@ -11,6 +11,8 @@ Sell in-app purchases and subscriptions in your Capacitor app with StoreKit on i
|
|
|
11
11
|
<p><a href="https://capgo.app/consulting/?ref=plugin_native_purchases">Missing a feature? We'll build the plugin for you ๐ช</a></p>
|
|
12
12
|
</div>
|
|
13
13
|
|
|
14
|
+
> ๐ค **Building with an AI coding agent?** Install [Capgo skills](https://capgo.app/skills/?ref=plugin_native_purchases) so Claude Code, Codex, Cursor, Copilot, or Gemini CLI know how to install and use `@capgo/native-purchases` in your Capacitor app: `npx skills add Cap-go/capgo-skills`. Then ask your agent: *"Add @capgo/native-purchases to my Capacitor app and wire it up."* [Agent setup guides](https://capgo.app/agents/?ref=plugin_native_purchases) ยท [Hosted MCP](https://capgo.app/docs/ai/mcp/?ref=plugin_native_purchases)
|
|
15
|
+
|
|
14
16
|
<p align="center">
|
|
15
17
|
<img src="https://raw.githubusercontent.com/Cap-go/capacitor-native-purchases/main/assets/github-social-preview.png" alt="@capgo/native-purchases for Capacitor apps" width="300" />
|
|
16
18
|
</p>
|
|
@@ -43,7 +43,7 @@ import org.json.JSONArray;
|
|
|
43
43
|
@CapacitorPlugin(name = "NativePurchases")
|
|
44
44
|
public class NativePurchasesPlugin extends Plugin {
|
|
45
45
|
|
|
46
|
-
private final String pluginVersion = "8.9.
|
|
46
|
+
private final String pluginVersion = "8.9.5";
|
|
47
47
|
public static final String TAG = "NativePurchases";
|
|
48
48
|
private static final int BILLING_CONNECTION_MAX_ATTEMPTS = 2;
|
|
49
49
|
private static final long BILLING_SETUP_TIMEOUT_SECONDS = 5;
|
|
@@ -26,7 +26,7 @@ public class NativePurchasesPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
26
26
|
CAPPluginMethod(name: "finishTransaction", returnType: CAPPluginReturnPromise)
|
|
27
27
|
]
|
|
28
28
|
|
|
29
|
-
private let pluginVersion: String = "8.9.
|
|
29
|
+
private let pluginVersion: String = "8.9.5"
|
|
30
30
|
var autoFinishTransactions: Bool = true
|
|
31
31
|
private var transactionUpdatesTask: Task<Void, Never>?
|
|
32
32
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/native-purchases",
|
|
3
|
-
"version": "8.9.
|
|
3
|
+
"version": "8.9.5",
|
|
4
4
|
"description": "In-app Subscriptions Made Easy",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@ionic/eslint-config": "^0.5.0",
|
|
65
65
|
"@ionic/prettier-config": "^4.0.0",
|
|
66
66
|
"@ionic/swiftlint-config": "^2.0.0",
|
|
67
|
-
"@types/node": "^
|
|
67
|
+
"@types/node": "^26.0.0",
|
|
68
68
|
"@typescript-eslint/eslint-plugin": "^8.70.0",
|
|
69
69
|
"@typescript-eslint/parser": "^8.70.0",
|
|
70
70
|
"eslint": "^10.0.0",
|