awesome-cordova-plugins/docs/plugins/in-app-purchase-2/README.md

45 lines
1.2 KiB
Markdown
Raw Normal View History

2021-09-29 20:09:02 +08:00
# In App Purchase 2
```
$ ionic cordova plugin add cordova-plugin-purchase --variable BILLING_KEY="<ANDROID_BILLING_KEY>"
2021-09-29 21:19:55 +08:00
$ npm install @awesome-cordova-plugins/in-app-purchase-2
2021-09-29 20:09:02 +08:00
```
2021-09-29 21:19:55 +08:00
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/in-app-purchase-2/)
2021-09-29 20:09:02 +08:00
Plugin Repo: [https://github.com/j3k0/cordova-plugin-purchase](https://github.com/j3k0/cordova-plugin-purchase)
In-App Purchase on iOS, Android, Windows, macOS and XBox.
## Features
2021-09-29 20:38:45 +08:00
| | ios | android | win-8 | win-10/uwp | mac |
|--|--|--|--|--|--|
| consumables | ✅ | ✅ | ✅ | ✅ | ✅ |
| non consumables | ✅ | ✅ | ✅ | ✅ | ✅ |
| subscriptions | ✅ | ✅ | ✅ | ✅ | ✅ |
| restore purchases | ✅ | ✅ | ✅ | ✅ | ✅ |
| receipt validations | ✅ | ✅ | | ✅ | ✅ |
| downloadable content | ✅ | | | | ✅ |
| introductory prices | ✅ | ✅ | | ✅ | ✅ |
2021-09-29 20:09:02 +08:00
Supports:
2021-09-29 20:38:45 +08:00
- **iOS** version 7.0 or higher.
- **Android** version 2.2 (API level 8) or higher
- with Google Play client version 3.9.16 or higher
- **Windows** Store/Phone 8.1 or higher
- **Windows 10 Mobile**
- **macOS** version 10
- **Xbox One**
- (and any platform supporting Microsoft's UWP)
2021-09-29 20:09:02 +08:00
## Supported platforms
- iOS
- Android
- Windows
2021-09-29 20:38:45 +08:00