Step-by-step guide to connect your Huawei app to OneSignal for push notifications, including PushKit setup, API key configuration, and Huawei’s optional message self-classification for apps with users in China.
Huawei_category
API fieldNavigate to your App in AppGallery Connect
Copy your Package Name, Client ID, and Client Secret
Select Huawei Android in OneSignal
Enter Huawei Push credentials in OneSignal
Huawei_category
field in the OneSignal API to classify your messages.Huawei_category
valuesCategory | Description |
---|---|
IM | Instant messaging |
VOIP | Voice-over-IP services |
SUBSCRIPTION | Subscribed content notifications |
TRAVEL | Travel info (e.g., ticket updates) |
HEALTH | Health and wellness updates |
WORK | Work-related reminders |
ACCOUNT | Account activity alerts |
EXPRESS | Logistics/delivery updates |
FINANCE | Financial/banking alerts |
DEVICE_REMINDER | Device-level system reminders |
MAIL | Email client messages |
MARKETING | Marketing or promotional content |
MARKETING
, which is limited to 2–5 sends/day depending on third-level classifications.Important: Classification violations may lead to penalties or delivery restrictions.