OneSignal Help & Documentation

Welcome to the OneSignal New IA developer hub. You'll find comprehensive guides and documentation to help you start working with OneSignal New IA as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    Discussions

Huawei Cordova SDK Setup

OneSignal Huawei Cordova Setup Guide

1. Cordova OneSignal SDK Setup

Follow the Cordova SDK Setup instructions.

2. Huawei Setup

3. Huawei Location Service (Optional)

  • 3.1 Add implementation 'com.huawei.hms:location:<HUAWEI HMS VERSION #> to your app build.gradle's dependencies section.
  • 3.2 Make sure to also add the location permission to your AndroidManifest.xml if you don't have this already


This is an example Cordova project integrating the Huawei Cordova Plugin.

HMS error code reference to help debug logs and successfully integrate HMS Core SDK with the OneSignal SDK.

Updated 4 days ago

Huawei Cordova SDK Setup

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.