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

49 lines
1.4 KiB
Markdown
Raw Normal View History

2021-09-29 20:09:02 +08:00
<a style="float:right;font-size:12px;" href="http://github.com/danielsogl/awesome-cordova-plugins/edit/master/src/@awesome-cordova-plugins/plugins/in-app-purchase-2/index.ts#L221">
Improve this doc
</a>
# In App Purchase 2
```
$ ionic cordova plugin add cordova-plugin-purchase --variable BILLING_KEY="<ANDROID_BILLING_KEY>"
$ npm install @ionic-native/plugins/in-app-purchase-2
```
## [Usage Documentation](https://ionicframework.com/docs/native/in-app-purchase-2/)
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