Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
HarmonyOS
Notification Kit (user notification service) provides a publishing channel for local notifications. With Notification Kit, you can push notifications generated by your application directly to users on the client. Depending on the notification type and publishing scenario, a local notification produces the corresponding ringtone, vibration, banner, lock screen display, automatic screen-on, status bar icon, and display in the notification center.
When an application is running, you can use Notification Kit to publish notifications to users.When the application process is terminated, you cannot publish local notifications. Instead, you need to access Push Kit to publish offline notifications on the cloud.
You can use the local notification capability in various scenarios, such as synchronizing upload and download progress, publishing instant customer service and payment notifications, and updating step counts.
Notification Kit supports the following capabilities:


The main service flow of using Notification Kit is as follows:
Request notification authorization.
Publish a notification to Notification Kit.
Display the notification in the notification center.
The actual display effect depends on the device capabilities and the UI design style of the notification center.
Common notification styles in Notification Kit are as follows.
| Type | Notification Style | Description |
|---|---|---|
| Text | ![]() | A maximum of three lines can be displayed in the notification text. Excess content is truncated by an ellipsis (...). |
| Multi-line text | ![]() | A maximum of three lines of content can be displayed. Excess content of each line is truncated by an ellipsis (...). |
| Notification badge | Displayed as a number in the upper right corner. | |
| Progress bar | ![]() | Progress notification. |
Both cloud notifications and local notifications published by apps must comply with the Push Kit message classification standards. Incorrect message classification or other violations of these standards will be considered violations. For the classification standards for local notifications, see Notification Slots.
For violations and the corresponding measures, see Push Notification Violation Penalty Criteria.
This kit is supported on the Emulator.
There are some general differences between the Emulator and real devices. For details, please refer to Differences Between the Emulator and the Real Device.
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.


