@hmscore/cordova-plugin-hms-iap
Version:
Cordova HMS IAP Plugin
67 lines (41 loc) • 2.13 kB
Markdown
# Ionic Native HMS IAP
## 1. About
Ionic Native wrappers for
the [cordova-plugin-hms-iap](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-iap).
## 2. Installation
### 2.1 With Cordova Runtime
```bash
$ ionic cordova plugin add @hmscore/cordova-plugin-hms-iap
```
```bash
$ npm install @awesome-cordova-plugins/core @hmscore/ionic-native-hms-iap
```
### 2.2 With Capacitor Runtime
```bash
$ npm install @hmscore/cordova-plugin-hms-iap
```
```bash
$ npm install @awesome-cordova-plugins/core @hmscore/ionic-native-hms-iap
```
## 3. Usage Documentation
- [GitHub repository](https://github.com/HMS-Core/hms-cordova-plugin)
- [API reference and sample codes](https://github.com/HMS-Core/hms-cordova-plugin/blob/master/cordova-plugin-hms-iap/README.md#3-api-reference)
## 4. Sample Project
You can find the sample projects
on [HMS Core > Samples > In-App Purchases](https://developer.huawei.com/consumer/en/doc/overview/HMS-Core-Plugin?ha_source=hms1)
page.
## 5. Questions or Issues
If you have questions about how to use HMS samples, try the following options:
- [Stack Overflow](https://stackoverflow.com/questions/tagged/huawei-mobile-services) is the best place for any programming questions. Be sure to tag your question
with **`huawei-mobile-services`**.
- [GitHub](https://github.com/HMS-Core/hms-cordova-plugin) is the official repository for these plugins, You can open an issue or submit your ideas.
- [Huawei Developer Forum](https://forums.developer.huawei.com/forumPortal/en/home?fid=0101187876626530001&ha_source=hms1) HMS Core Module is great for general questions, or seeking recommendations and opinions.
- [Huawei Developer Docs](https://developer.huawei.com/consumer/en/doc/overview/HMS-Core-Plugin?ha_source=hms1) is place to official documentation for all HMS Core Kits, you can find detailed documentations in there.
If you run into a bug in our samples, please submit an issue to the [GitHub repository](https://github.com/HMS-Core/hms-cordova-plugin).
## 6. Licensing and Terms
Ionic Native HMS IAP is licensed under the [Apache 2.0 license](LICENSE).