You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
8
8
# Tauri Plugin IAP
9
9
10
-
A Tauri plugin for In-App Purchases (IAP) with support for subscriptions on both iOS (StoreKit 2) and Android (Google Play Billing).
10
+
A Tauri plugin for In-App Purchases (IAP) with support for subscriptions on iOS (StoreKit 2), Android (Google Play Billing) and Windows (Microsoft Store).
11
11
12
12
## Features
13
13
@@ -28,6 +28,7 @@ A Tauri plugin for In-App Purchases (IAP) with support for subscriptions on both
28
28
29
29
-**iOS**: StoreKit 2 (requires iOS 15.0+)
30
30
-**Android**: Google Play Billing Library v8.0.0
31
+
-**Windows**: Microsoft Store API (Windows 10/11)
31
32
32
33
## Installation
33
34
@@ -155,6 +156,13 @@ unlisten();
155
156
3. Configure your app's billing permissions (already included in the plugin)
156
157
4. Test with test accounts or sandbox environment
157
158
159
+
### Windows Setup
160
+
161
+
1. Register your app in Microsoft Partner Center
162
+
2. Create add-on products (consumables, durables, or subscriptions)
163
+
3. Associate your app with the Microsoft Store
164
+
4. Test with Windows sandbox environment
165
+
158
166
## API Reference
159
167
160
168
### `initialize()`
@@ -233,6 +241,11 @@ Listens for purchase state changes.
233
241
- Offer tokens required for subscription purchases
234
242
- More detailed pricing phase information
235
243
244
+
### Windows (Microsoft Store)
245
+
- Automatic acknowledgment handled by the Store
246
+
- Supports consumables, durables, and subscriptions
247
+
- Uses SKUs for subscription offer variations
248
+
236
249
## Testing
237
250
238
251
### iOS
@@ -245,6 +258,12 @@ Listens for purchase state changes.
245
258
2. Add test accounts in Google Play Console
246
259
3. Test with test payment methods
247
260
261
+
### Windows
262
+
1. Use Microsoft Store sandbox environment
263
+
2. Configure test accounts in Partner Center
264
+
3. Test with Windows Dev Center test payment methods
0 commit comments