Skip to content

Commit 1c2fa60

Browse files
committed
Updated README.md
1 parent c2ca491 commit 1c2fa60

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# Tauri Plugin IAP
99

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).
1111

1212
## Features
1313

@@ -28,6 +28,7 @@ A Tauri plugin for In-App Purchases (IAP) with support for subscriptions on both
2828

2929
- **iOS**: StoreKit 2 (requires iOS 15.0+)
3030
- **Android**: Google Play Billing Library v8.0.0
31+
- **Windows**: Microsoft Store API (Windows 10/11)
3132

3233
## Installation
3334

@@ -155,6 +156,13 @@ unlisten();
155156
3. Configure your app's billing permissions (already included in the plugin)
156157
4. Test with test accounts or sandbox environment
157158

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+
158166
## API Reference
159167

160168
### `initialize()`
@@ -233,6 +241,11 @@ Listens for purchase state changes.
233241
- Offer tokens required for subscription purchases
234242
- More detailed pricing phase information
235243

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+
236249
## Testing
237250

238251
### iOS
@@ -245,6 +258,12 @@ Listens for purchase state changes.
245258
2. Add test accounts in Google Play Console
246259
3. Test with test payment methods
247260

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
265+
4. Ensure app is associated with Store listing
266+
248267
## License
249268

250269
[MIT](LICENSE)

0 commit comments

Comments
 (0)