https://github.com/hms-core/hms-cordova-plugin
This repo contains all of Cordova HMS plugins.
https://github.com/hms-core/hms-cordova-plugin
cordova cordova-plugin hms huawei push push-notifications
Last synced: about 1 year ago
JSON representation
This repo contains all of Cordova HMS plugins.
- Host: GitHub
- URL: https://github.com/hms-core/hms-cordova-plugin
- Owner: HMS-Core
- License: apache-2.0
- Created: 2020-05-23T14:35:44.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-26T13:22:04.000Z (almost 2 years ago)
- Last Synced: 2025-03-29T17:08:02.725Z (about 1 year ago)
- Topics: cordova, cordova-plugin, hms, huawei, push, push-notifications
- Language: Java
- Homepage: https://developer.huawei.com/consumer/en/doc/overview/HMS-Core-Plugin?ha_source=hms1
- Size: 14.8 MB
- Stars: 101
- Watchers: 20
- Forks: 48
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HMS Cordova Plugins
[](./LICENSE)
This repo contains the source code for HMS Cordova first-party plugins, which are developed by the HMS Core team.
These plugins enable access to using kit-specific APIs. For more information
about plugins, and how to use them, see
[Official Documentations](https://developer.huawei.com/consumer/en/doc/overview/HMS-Core-Plugin?ha_source=hms1).
## Plugins
These are the available plugins in this repository.
| Plugin | Cordova | Ionic Native | Documentation | Demo Project |
| --- | --- | --- | --- | --- |
| [**Account**](./cordova-plugin-hms-account) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-account) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-account) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001051006397?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001050767539-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-account/example/cordova)
[Ionic](./cordova-plugin-hms-account/example/ionic) |
| [**Ads**](./cordova-plugin-hms-ads) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-ads) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-ads) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001050437673?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/ads-0000001050200658-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-ads/example/cordova)
[Ionic](./cordova-plugin-hms-ads/example/ionic) |
| [**Ads-Prime**](./cordova-plugin-hms-adsprime) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-adsprime) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-adsprime) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001050437673?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/ads-0000001050200658-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-adsprime/example/cordova)
[Ionic](./cordova-plugin-hms-adsprime/example/ionic) |
| [**Analytics**](./cordova-plugin-hms-analytics) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-analytics) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-analytics) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001050134725?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001050132806-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-analytics/example/cordova)
[Ionic](./cordova-plugin-hms-analytics/example/ionic) |
| [**AR Engine**](./cordova-plugin-hms-ar) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-ar) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-ar) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001059697332?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001059547578-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-ar/example/cordova)
[Ionic](./cordova-plugin-hms-ar/example/ionic) |
| [**Availability**](./cordova-plugin-hms-availability) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-availability) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-availability) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001133045241?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001132809341-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-availability/example/cordova)
[Ionic](./cordova-plugin-hms-availability/example/ionic) |
| [**Awareness**](./cordova-plugin-hms-awareness) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-awareness) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-awareness) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001064365517?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001072952026-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-awareness/example/cordova)
[Ionic](./cordova-plugin-hms-awareness/example/ionic) |
| [**Contact Shield**](./cordova-plugin-hms-contactshield) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-contactshield) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-contactshield) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001071927875?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001071687323-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-contactshield/example/cordova)
[Ionic](./cordova-plugin-hms-contactshield/example/ionic) |
| [**Dynamic Tag Manager**](./cordova-plugin-hms-dtm) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-dtm) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-dtm) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001059610277?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001061977436-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-dtm/example/cordova)
[Ionic](./cordova-plugin-hms-dtm/example/ionic) |
| [**Health**](./cordova-plugin-hms-health) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-health) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-health) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/about-huawei-health-kit-0000001074479470?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001073682529-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-health/example/cordova)
[Ionic](./cordova-plugin-hms-health/example/ionic) |
| [**In-App Purchases**](./cordova-plugin-hms-iap) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-iap) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-iap) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001050132986?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001059258027-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-iap/example/cordova)
[Ionic](./cordova-plugin-hms-iap/example/ionic) |
| [**Location**](./cordova-plugin-hms-location) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-location) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-location) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001050140246?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001050140386-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-location/example/cordova)
[Ionic](./cordova-plugin-hms-location/example/ionic) |
| [**Map**](./cordova-plugin-hms-map) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-map) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-map) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001050329204?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001050443477-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-map/example/cordova)
[Ionic](./cordova-plugin-hms-map/example/ionic) |
| [**ML**](./cordova-plugin-hms-ml) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-ml) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-ml) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001050765773?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/introduction-0000001051088632-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-ml/example/cordova)
[Ionic](./cordova-plugin-hms-ml/example/ionic) |
| [**ML Body**](./cordova-plugin-hms-mlbody) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-mlbody) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-mlbody) | [Getting Started](https://developer.huawei.com/consumer/en/doc/HMS-Plugin-Guides/preparedevenv-0000001051005805?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/HMS-Plugin-References/overview-0000001737148421-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-mlbody/example/cordova)
[Ionic](./cordova-plugin-hms-mlbody/example/ionic) |
| [**ML Image**](./cordova-plugin-hms-mlimage) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-mlimage) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-mlimage) | [Getting Started](https://developer.huawei.com/consumer/en/doc/HMS-Plugin-Guides/preparedevenv-0000001051005805?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/HMS-Plugin-References/overview-0000001686627277-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-mlimage/example/cordova)
[Ionic](./cordova-plugin-hms-mlimage/example/ionic) |
| [**ML Language**](./cordova-plugin-hms-mllanguage) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-mllanguage) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-mllanguage) | [Getting Started](https://developer.huawei.com/consumer/en/doc/HMS-Plugin-Guides/preparedevenv-0000001051005805-V1?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/HMS-Plugin-References/overview-0000001614907550-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-mllanguage/example/cordova)
[Ionic](./cordova-plugin-hms-mllanguage/example/ionic) |
| [**ML Text**](./cordova-plugin-hms-mltext) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-mltext) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-mltext) | [Getting Started](https://developer.huawei.com/consumer/en/doc/HMS-Plugin-Guides/preparedevenv-0000001051005805?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/HMS-Plugin-References/overview-0000001669284208-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-mltext/example/cordova)
[Ionic](./cordova-plugin-hms-mltext/example/ionic) |
| [**Nearby Service**](./cordova-plugin-hms-nearby) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-nearby) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-nearby) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001062870688?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001063051862-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-nearby/example/cordova)
[Ionic](./cordova-plugin-hms-nearby/example/ionic) |
| [**Push**](./cordova-plugin-hms-push) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-push) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-push) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001050135701?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001050133780-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-push/example/cordova)
[Ionic](./cordova-plugin-hms-push/example/ionic) |
| [**Push-FCM**](./cordova-plugin-hms-pushfcm) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-pushfcm) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-pushfcm) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001050135701?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001238776269-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-pushfcm/example/cordova)
[Ionic](./cordova-plugin-hms-pushfcm/example/ionic) |
| [**Safety Detect**](./cordova-plugin-hms-safetydetect) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-safetydetect) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-safetydetect) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001055426855?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001055428828-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-safetydetect/example/cordova)
[Ionic](./cordova-plugin-hms-safetydetect/example/ionic) |
| [**Scan**](./cordova-plugin-hms-scan) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-scan) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-scan) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001057398487?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001057118137-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-scan/example/cordova)
[Ionic](./cordova-plugin-hms-scan/example/ionic) |
| [**Site**](./cordova-plugin-hms-site) | [](https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-site) | [](https://www.npmjs.com/package/@hmscore/ionic-native-hms-site) | [Getting Started](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/version-change-history-0000001050175533?ha_source=hms1)
[API Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References-V1/overview-0000001050178899-V1?ha_source=hms1) | [Cordova](./cordova-plugin-hms-site/example/cordova)
[Ionic](./cordova-plugin-hms-site/example/ionic) |
## Questions or Issues
If you want to evaluate more about HMS Core, [r/HMSCore on Reddit](https://www.reddit.com/r/HuaweiDevelopers/) is for you to keep up with latest news about HMS Core, and to exchange insights with other developers.
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`.
- [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.
If you run into a bug in our samples, please submit an [issue](https://github.com/HMS-Core/hms-cordova-plugin/issues) to the Repository. Even better you can submit a [Pull Request](https://github.com/HMS-Core/hms-cordova-plugin/pulls) with a fix.