npm package: @hmscore/cordova-plugin-hms-analytics
Description: Cordova HMS Analytics Plugin
Latest version: 6.12.0-301

<p align="center">
  <h1 align="center">Cordova HMS Analytics</h1>
</p>
<p align="center">
  <a href="https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-analytics"><img src="https://img.shields.io/npm/dm/@hmscore/cordova-plugin-hms-analytics?color=%23007EC6&style=for-the-badge" alt="downloads"></a>
  <a href="https://www.npmjs.com/package/@hmscore/cordova-plugin-hms-analytics"><img src="https://img.shields.io/npm/v/@hmscore/cordova-plugin-hms-analytics?color=%23ed2a1c&style=for-the-badge" alt="NPM version"></a>
  <a href="./LICENSE"><img src="https://img.shields.io/npm/l/@hmscore/cordova-plugin-hms-analytics.svg?color=%3bcc62&style=for-the-badge" alt="License"></a>
</p>

----

This plugin enables communication between Huawei Analytics SDK and Cordova platform. It exposes all functionality provided by Huawei Analytics SDK.

[> Learn More](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/introduction-0000001050134725?ha_source=hms1)

## Installation

### Cordova

```bash
$ cordova plugin add @hmscore/cordova-plugin-hms-analytics
```

### Ionic with Cordova Runtime

```bash
$ ionic cordova plugin add @hmscore/cordova-plugin-hms-analytics
```

### Ionic with Capacitor Runtime

```bash
$ npm install @hmscore/cordova-plugin-hms-analytics
```

### Ionic Native Wrappers

```bash
$ npm install @hmscore/ionic-native-hms-analytics
```

## Documentation

- [Quick Start](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/preparing-dev-env-0000001050132780?ha_source=hms1)
- [Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References/overview-0000001050132806?ha_source=hms1)

### Additional Topics

- [Enabling HUAWEI Analytics Service](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/config-agc-0000001050134733#EN-US_TOPIC_0000001050139471__section118755594146?ha_source=hms1)
- [Using Debug Mode](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/using-debug-mode-0000001058958330?ha_source=hms1)
- [Accessing Analytics Kit](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/description-0000001053604228?ha_source=hms1)

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

## License

Huawei Analytics Kit Cordova Plugin is licensed under the [Apache 2.0 license](LICENSE).