To maintain the order of the Huawei notification ecosystem and ensure users' legitimate rights and interests as well as a good user experience, we hereby formulate these Specifications in accordance with current laws and regulations, as well as the HUAWEI Developers Service Agreement, Agreement on Use of Huawei APIs, AppGallery Review Guidelines, and Atomic Service Review Guidelines. All HarmonyOS applications, jointly-operated applications, and atomic services (hereinafter referred to as "applications") that are to be released on HUAWEI AppGallery and use the background applications must comply with specifications in this topic.
| General Principles | Description |
|---|---|
| Do not use continuous tasks out of the scenarios supported by the task type. Ensure that the services runnign in the background are consistent with the requested task type. | User authorization is required to enable background running for continuous tasks in special scenarios. Specifically, your application must display a dialog box to ask users whether to allow the application to run in the background. |
| After a continuous task is complete, it must be canceled in a timely manner. | - |
| Do not request a continuous task to run in the background in scenarios that are not triggered by user actions. | - |
| Do not request a continuous task again immediately after a user stops the task (by deleting the continuous task notification or AVSession notification) and cancels it. | - |
| Do not request a continuous task again immediately after the system detects that your application is using a continuous task inappropriately and cancels or suspends it. | - |
| Do not modify continuous job notifications. | When using a data transmission task, your application needs to update the progress. The updated content must be used for this scenario and cannot be used for other purposes. |
| Do you keep your application alive maliciously via a background task. | Maliciously keeping an application alive refers to the act of running an application in the background without a user's consent and beyond what is necessary for normal application functionality. |
| Avoid any other behavior that may compromise user experience. | - |
| Meet the basic performance and power consumption requirements. | - |
If your application violates the rules, Background Task Kit will send you a violation notification email or short message to your developer account. You can check the violation details and penalty according to the steps provided in the email or SMS.
| Violation Classification and Behavior | Penalty Policy |
|---|---|
The usage scenarios of continuous tasks are out of the supported scope, affecting user experience. · An application is used in scenarios supported by the continuous task type. · An application does not cancel the continuous task in time after the services in the specified scenarios are complete. · An application applies for a continuous task to run in the background in scenarios that are not triggered by user actions, and users do not have a clear expectation on the application running in the background. · A user proactively stops a continuous task (by deleting continuous task notifications or AVSession notifications), cancels it, and then immediately applies for another continuous task again. · The application requests a continuous task immediately after the system cancels or suspends a detected inappropriate continuous task. · The content of continuous task notifications is modified. · The application maliciously keeps running in the background through a background task. Maliciously keeping an application alive refers to the act of running an application in the background without a user's consent and beyond what is necessary for normal application functionality. · Other actions that affect the experience of Huawei device users. | Penalties will be imposed based on the degree of negative impact caused by the violation: · Severe: The continuous task will be immediately prohibited in the violation scenario. The application needs to complete the rectification after receiving the violation notification and provide the rectification result. · Minor: The application needs to complete the rectification within seven calendar days after receiving the violation notification and provide the rectification result. Otherwise, the continuous task will be prohibited in the violation scenarios. NOTE When submitting the rectification feedback, see Rectification Commitment Statement. |
When submitting the rectification feedback, you need to provide the Rectification Commitment Statement stamped with the official seal of the company that released the non-compliant application. The statement is as follows:
To Huawei Software Technologies Co., Ltd.,
Our application: Name: *** (hereinafter referred to as "Application"); ID/bundle name: ***; version: ***. During the use of Background Tasks Kit, on (year)-(month)-__(day), the application was penalized due to _______(hereinafter referred to as Violation).
We hereby acknowledge the Violation and outline our rectification measures as follows:
Issue 1: ***
Rectification:
Issue 2: ***
Rectification:
Rectification completion date: (year)-(month)-__(day)
We promise to comply with applicable laws and regulations. During the use of Background Tasks Kit, we have carefully read and agreed to comply with the relevant terms and conditions, such as the Background Tasks Kit Integration Specifications. In the event any further violation of applicable law, regulations, or the aforementioned terms and conditions, our company agrees to accept any actions taken by Huawei against the Application and/or our company, and shall independently bear all issues and responsibilities arising from the Application. If any losses are caused to Huawei, its affiliates, partners, or any other third parties, our company will be fully liable for and compensate the losses.
Hereby declared and guaranteed.