Currently, to avoid end users from being frequently disturbed, vendors are gradually restricting the number and frequency of notification messages pushed by application developers by type. The message type is mainly identified by the channel ID (ChannelID
). Tencent Push Notification Service classifies messages into two types based on the types provided by major vendors:
The message type can be specified when you call the push API.
Meizu currently does not support message classification or limit the number of messages.
Push Channel | Configuration |
---|---|
Tencent Push Notification Service channel |
|
Huawei |
|
Mi |
|
OPPO |
|
Meizu | No instructions on channels are provided. |
vivo |
|
The default channel on the OPPO PUSH platform is the public message channel. Now, the private message channel is provided to push personalized messages to individual users, with no limit on the number of pushes. The table below compares the public and private message channels.
Type | Public Message Channel | Private Message Channel | |
---|---|---|---|
Push content | Universal content for users, for example, trending news, new product promotions, platform announcements, community topics, and lucky draws | Content closely related to individual users such as changes of orders, package delivery notifications, subscribed content updates, interactive comments, and loyalty program point updates | |
Single user push limit (number of messages per day) | News (third-level category) | 5 | Unlimited |
Other application types | 2 | Unlimited | |
Maximum number of pushes | All public message channels share a total number of pushes. If the daily limit is reached, they will stop pushing messages on the day. The current maximum number of daily pushes is twice the total number of all registered users. | Unlimited | |
Configuration method | Default | You need to register the channel with the OPPO PUSH platform and set the corresponding channel attribute to "Private Message" |
Note:Official reminder from OPPO: You must not use the private message channel to push universal messages (such as trending news and new product promotions). The backend will monitor the push content. If you violate the operational rules, OPush has the right to disable your private channel access, and you shall bear all consequences arising therefrom, such as exceptional API calls and failure to deliver messages sent through the private message channel.
Note:Once the channel ID is set, it cannot be randomly changed or deleted.
oppo_ch_id
parameter in the Android structure of the RESTful API request parameters to implement delivery based on the notification channel. For more information, see Push API.
Sample push:Note:Currently, notifications pushed through the OPPO private message channel can be delivered only through RESTful APIs but not the console.
{
"audience_type": "token",
"token_list": ["005c28bf60e29f9a1c2052ce96f43019a0b7"],
"message_type": "notify",
"message": {
"title": "Test title",
"content": "Test content",
"android": {
"oppo_ch_id": "Private message channel ID"}
}
}
The notification channels of Mi Push are divided into two categories: "private message" and "public message". For more information, see Mi Push Message Categorization Rules
Restrictions on public and private messages are as follows:
Message Type | Message Content | Message Quantity Limit | Application Method |
---|---|---|---|
Default | See Public Message Scenario Description | 1 message per application per device per day | No application needed |
Public message | Universal content for users, for example, trending news, new product promotions, platform announcements, community topics, and lucky draws | 5-8 messages per application per device per day | Apply on the Mi Push platform. For more information, see Channel Application and Access Methods. |
Private message | Personal notification-related content such as chat messages, order status changes, package delivery notifications, transaction reminders, and IoT system notifications | Unlimited |
Log in to the Mi push operation platform and choose Application Management > Notification Category to apply for the Mi notification message channel. For more information, see Mi Push Notification Message Channel.
Note:In order to use Mi Push in a compliant manner, be sure to abide by Mi Push Operation Rules.
Currently, Mi notification messages can be delivered only through RESTful APIs but not the console.
Set the xm_ch_id
parameter in the Android structure of the RESTful API request parameters to implement delivery based on the Mi notification channel. For more information, see Push API.
Sample push:
{
"audience_type": "token",
"token_list": ["005c28bf60e29f9a***2052ce96f43019a0b7"],
"message_type": "notify",
"message": {
"title": "Mi notification message",
"content": "Test content",
"android": {
"xm_ch_id": "channel_id of the Mi notification message"
}
}
}
vivo classifies push messages into operation messages and system messages.
Message Category | Quota | Supported Message Content | How to Increase Quota | Notification Bar Message Display | Frequency Control Rule After June 1, 2020 |
---|---|---|---|---|---|
Operation message | Number of SDK subscriptions x 2 | In addition to system messages, you can send notifications of content recommendations, event recommendations, social networking status updates, etc. For details, see vivo message classification. | Contact vivo sales personnel. | Collapsed when the application is not active and displayed when the application is active | Up to 5 messages per application per user per day |
System message | Number of SDK subscriptions x 2 | Send an email to apply for quota increase. See below for the application template and requirements. | Displayed regardless of whether the application is active | No limit on the number of messages received by users |
Note:
- Before June 1, 2020, no matter whether the message classification feature is enabled, the frequency control rule remains the same: up to 5 public messages (full push, group push, tag push) per application per user per day, and no limit on the number of messages per push. From June 1, 2020 on, the frequency control rule specifies that the upper limit for operation messages per application per user is 5, and if any user experience-related complaint arises, the number will be adjusted.
- Funtouch OS 10 or later does not provide a message box, and messages are displayed on the narrow bar when the application is not active.
- Both the system message quota and operation message quota will automatically change with the number of SDK subscriptions. If special circumstances require an increase in the system message quota, please submit an application as instructed in the next section.
- If a vivo user receives more than 5 operational messages a day, the extra messages beyond the limit (5 messages) are delivered through the Tencent Push Notification Service channel, instead of the vivo channel.
- If you have applied to vivo to increase the operating message limit, please contact us so that we can configure it on the backend; otherwise, the new limit will not take effect.
The system message quota is twice the number of SDK subscriptions by default. To increase the quota, send an application email based on the template below to push@vivo.com:
Subject: Application for Increasing the Quota of Instant Messages/System Messages for App XXX
Body: …
Application name: …
Package name: …
Application overview: …
Instant Messages/System message quota required (unit: 10,000): ...
Specific push scenarios, such as personal user chat and merchant chat
Currently, vivo notification messages can be delivered only through RESTful APIs but not the console.
Set the vivo_ch_id
parameter in the Android structure of the RESTful API request parameters to 1 to implement delivery of vivo system messages. For more information, see Push API.
Note:
- The vivo push platform will conduct daily inspection of system messages according to the message classification criteria. It checks whether developers send operation messages through the system message channel, and imposes corresponding penalties (may disable the message push feature in worst cases) based on the degree and frequency of violations.
- Please refer to the message classification document to operate strictly in accordance with the platform message classification. For the penalty rules, see Message Classification Feature Description > V. Operation Supervision and Penalty > 3. Penalty Rules in this document.
Sample push:
{
"audience_type": "token",
"token_list": ["005c28bf60e29f9a***2052ce96f43019a0b7"],
"message_type": "notify",
"message": {
"title": "vivo system notification",
"content": "Test content",
"android": {
"vivo_ch_id": "1"
}
}
}
Starting from EMUI 10.0, Huawei Push intelligently categorizes notification messages into two levels: "service and communication" and "information and marketing". Versions earlier than EMUI 10.0 don't categorize notification messages and have only one level, where all messages are displayed through the "default notification" channel, which is equivalent to the service and notification category on EMUI 10.0. From January 5, 2023 on, the number of information and marketing messages pushed per day will be capped according to the type of application, while there will be no limit to the number of service and communication messages pushed per day.
Huawei's response code 256 indicates that the number of information and marketing messages sent of the current day exceeds the limit, and you need to adjust the sending policy. For more information, see here.
The table below compares the display style of messages at different levels.
Message Level | Displayed in the Notification Center | Displayed in the Status Bar | Notification for Screen Lock | Ringtone | Vibration |
---|---|---|---|---|---|
Service and communication | Normal | Supported | Supported | Supported | Supported |
Information and marketing | Normal | Not supported | Not supported | Not supported | Not supported |
If you want service and notification messages to be sent silently, you can add the hw_importance
field and specify its value as 1
. For more information, see the parameter description of Push API.
Classification rules:
The self-help classification permission for Huawei notification messages can take effect only after you apply for it. For more information, see Message Classification Methods.
Note:
- If the application does not provide the self-help message classification feature, its push messages will be automatically classified by intelligent classification.
- If the application provides the self-help message classification feature, the classification information provided by developers is trusted, and intelligent classification is not implemented for messages.
Self-classified messages can be delivered only through APIs but not the console. After successfully obtaining the permission for self-help message classification, you can use the feature as follows:
Configure the hw_category
field in the Android
request structure of the RESTful API to deliver self-classified messages. For more information, see the parameter description in Push API.
Sample push:
{
"audience_type": "token",
"token_list": ["005c28bf60e29f9a***2052ce96f43019a0b7"],
"message_type": "notify",
"message": {
"title": "Account logged out:",
"content": "Your account has been logged out due to login from an unusual login location.",
"android": {
"hw_category":"VOIP"
}
}
}
Huawei Push supports customizing notification channels for applications. To create a notification channel on the client, use either of the following methods:
Currently, notifications pushed through Huawei's custom channel can be delivered only through a RESTful API but not the console. After a notification channel is created, you can:
Configure the hw_ch_id
field in the Android request structure of the RESTful API to push messages through the Huawei notification channel. For more information, see the parameter description in Push API.
Note:
- If you select China as the data processing location when you apply for the Huawei push service for your application in the Huawei push console, the custom channel feature is no longer applicable to your application. Your push messages will be classified as service and communication messages or information and marketing messages based on the message levels determined by the smart classification system or the self-help message classification permission. For more information, see Notification Channel Customization.
- The custom channel feature requires the self-help message classification permission for your application. Please apply for it as instructed above.
Sample push:
{
"audience_type": "token",
"token_list": ["005c28bf60e29f9a***2052ce96f43019a0b7"],
"message_type": "notify",
"message": {
"title": "Huawei notification message",
"content": "Test content",
"android": {
"hw_ch_id": "channel_id of the Huawei notification message"
}
}
}
Was this page helpful?