# Cordova HMS Push FCM

Cordova Push FCM Kit is a messaging service provided for you.Use this function to push messages to users of non-Huawei devices.

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

[> Learn More](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/aggr-third-parties-0000001237544791)

## Installation

### Cordova

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

### Ionic with Cordova Runtime

```bash
$ ionic cordova plugin add @hmscore/cordova-plugin-hms-pushfcm
```
  
### Ionic with Capacitor Runtime

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

### Ionic Native Wrappers

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

## Documentation

- [Quick Start](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides/aggr-third-parties-0000001237544791#EN-US_TOPIC_0000001237544791__section36925511410)
- [Reference](https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-References/overview-0000001238776269)

### Additional Topics

- [Enabling HUAWEI FCM Service](https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/aggr-third-parties-0000001237544791#EN-US_TOPIC_0000001237544791__section1560883121215)

## 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) 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) 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 FCM Kit Cordova Plugin is licensed under the [Apache 2.0 license](LICENCE).