HUAWEI Push Kit functions as a secure and reliable messaging channel to ensure successful message delivery. However, there are some non-channel factors, which may affect the message delivery rate, including:
Whether devices are connected to the Internet
HUAWEI Push Kit caches the message if the destination device is offline, and sends the message after the device goes online. If the device fails to receive the message after it goes online, HUAWEI Push Kit will no longer cache the message.
Whether the app integrated with the HMS Core Push SDK is uninstalled from the user's mobile phone
Whether the network connection is stable
Security control strategies of devices
Support for HMS Core (APK) by devices from different manufacturers
Whether the app process for delivering data messages exists
Huawei Android devices that have HMS Core (APK) installed
HUAWEI Push Kit is supported by default.
Non-Huawei Android devices that have no HMS Core (APK) installed
HUAWEI Push Kit is supported only after users download HMS Core (APK) from HUAWEI AppGallery and install it on their phones. In addition, the message delivery rate may be lower due to system restrictions.
iOS devices
Messages can be sent to iOS devices through the Apple Push Notification service (APNs) agent.
HUAWEI Push Kit tries its best to ensure timely message delivery. If the devices have a good network connection and the network is not busy, the message delivery delay should not exceed 1s. If you have created token-based, topic-based, or other types of messaging tasks on the HUAWEI Push Kit console in AppGallery Connect, or created topic-based messaging tasks through APIs, HUAWEI Push Kit must schedule the messaging tasks before sending messages. The delay here just refers to the time for HUAWEI Push Kit to send messages and excludes the time taken for task scheduling.
The Android app package name supported by messages sent by HUAWEI Push Kit can contain a maximum of 128 bytes, and the maximum size of a message is 4 KB(excluding token).
Serves more than 240 countries and regions worldwide, and supports more than 70 languages.
To use new functions in SDK 4.0, a device must run the earliest required version of EMUI or later.
Function | Earliest EMUI Version | Earliest Push Service App Version | Region Requirement | Other Restrictions |
Topic subscription/unsubscription | N/A | N/A | N/A | A data storage location must be selected. |
Topic-based messaging | N/A | N/A | N/A | A data storage location must be selected. |
Messaging through the WebPush agent | N/A | N/A | N/A | A data storage location must be selected. |
Messaging to iOS apps | N/A | N/A | N/A | A data storage location must be selected. |
Messaging to target audiences | 9.1.0 | N/A | N/A | HUAWEI Analytics Kit must be enabled. |
Intelligent classification of notification messages | 10.0.0 | 10.0.0 | This function is available only to the Chinese mainland and messages can be sent only in Chinese. | N/A |
| High-priority message designation by apps | 10.0.0 | 10.0.0 | N/A | Related permissions must be applied for. |
Customized ringtone, vibration mode, and color | 10.0.0 | 10.0.0 | N/A | N/A |
Breathing light | 10.0.0 | 10.1.0 | N/A | N/A |
Notification message display on UI | 9.1.0 | N/A | N/A | N/A |
Automatic initialization | 3.0.0 | N/A | N/A | N/A |
Action-triggered opening of a specified page | 10.0.0 | 10.1.0 | N/A | N/A |
Notification message localization | 10.0.0 | 10.0.0 | N/A | N/A |
Badge number setting | 10.0.0 | 10.1.0 | N/A | N/A |
Notification message tap event reporting | 4.0.0 | N/A | N/A | N/A |
NC | 4.0.0 | N/A | N/A | N/A |
Notification message display control | 5.1.0 | N/A | N/A | N/A |
Notification channel customization | 10.0.0 | 10.0.0 | N/A | N/A |
Sticky notification message | 10.0.0 | 10.1.0 | N/A | Related permissions must be applied for. |
Large text display in notification messages | 10.0.0 | 10.0.0 | N/A | N/A |
| Voice playing | 10.0.0 | N/A | N/A | Related permissions must be applied for. |
| High-priority data messages | 10.0.0 | N/A | N/A | Related permissions must be applied for. |
Inbox-style notification messages | 10.0.0 | 10.1.0 | N/A | N/A |
Notification messages with action buttons | 10.0.0 | 10.1.0 | N/A | N/A |
The following table lists the fields of the Sending Messages API for displaying a message with a more advanced style in NC as well as the required versions. Please download the latest Push Service version from AppGallery based on the corresponding EMUI version.
Field | Earliest EMUI Version | Earliest Push Service App Version | Country/Region Requirement | Other Requirements |
message.data | 10.0.0 | 10.1.0 | N/A | N/A |
message.android.data | 10.0.0 | 10.1.0 | N/A | N/A |
message.notification.image | 10.0.0 | 10.0.0 | N/A | N/A |
message.android.notification.click_action.action | 10.0.0 | 10.1.0 | N/A | N/A |
message.android.notification.image | 10.0.0 | 10.1.0 | N/A | N/A |
message.android.notification.icon | 10.0.0 | 10.0.0 | N/A | N/A |
message.android.notification.color | 10.0.0 | 10.0.0 | N/A | N/A |
message.android.notification.default_sound | 10.0.0 | 10.0.0 | N/A | N/A |
message.android.notification.sound | 10.0.0 | 10.0.0 | N/A | N/A |
message.android.notification.tag | 10.0.0 | 10.0.0 | N/A | N/A |
message.android.notification.body_loc_key | 10.0.0 | 10.0.0 | N/A | N/A |
message.android.notification.title_loc_key | 10.0.0 | 10.0.0 | N/A | N/A |
message.android.notification.multi_lang_key | 10.0.0 | 10.0.0 | N/A | N/A |
message.android.notification.channel_id | 10.0.0 | 10.0.0 | N/A | N/A |
message.android.notification.notify_summary | 10.0.0 | 10.0.0 | N/A | N/A |
message.android.notification.big_title | 10.0.0 | 10.0.0 | N/A | N/A |
message.android.notification.big_body | 10.0.0 | 10.0.0 | N/A | N/A |
message.android.notification.auto_cancel | 10.0.0 | 10.1.0 | N/A | Related permissions must be applied for. |
message.android.notification.badge.add_num | 8.0.0 | 8.0.0 | N/A | N/A |
message.android.notification.badge.set_num | 10.0.0 | 10.1.0 | N/A | N/A |
message.android.notification.ticker | 10.0.0 | 10.1.0 | N/A | N/A |
message.android.notification.when | 10.0.0 | 10.1.0 | N/A | N/A |
message.android.notification.importance | 10.0.0 | 10.0.0 | N/A | N/A |
message.android.notification.use_default_vibrate | 10.0.0 | 10.1.0 | N/A | N/A |
message.android.notification.use_default_light | 10.0.0 | 10.1.0 | N/A | N/A |
message.android.notification.vibrate_config | 10.0.0 | 10.1.0 | N/A | N/A |
message.android.notification.visibility | 10.0.0 | 10.1.0 | N/A | N/A |
message.android.notification.light_settings | 10.0.0 | 10.1.0 | N/A | N/A |
message.android.notification.inbox_content | 10.0.0 | 10.1.0 | N/A | N/A |
message.android.notification.buttons | 10.0.0 | 10.1.0 | N/A | N/A |
On mobile phones running EMUI 9.1.x and using Push Service 9.1.1 or later, the following capabilities are supported to display some notification messages in complex styles in NC:
Customized message notification ringtone
Customized breathing light
Customized large text style
Customized notification icon
Customized icon on the right of a notification message
Customized badging
Notification message display overwriting
Notification message localization
Inbox-style notification messages