1. Problem description:
Push a notification to Hongmeng mobile phone through push token. After receiving the notification, the picture will not be displayed on the right side of the notification.
Solution:
Check whether there is any image risk control:/consumer/cn/doc/harmonyos-references-V5/push-image-control-V5
2. Problem description:
How to set the push lock screen notification, trigger sound and vibration?
Solution:
What kind of message reminder method is used by the actual user's mobile phone and is related to the user's settings.
3. Problem description:
Send a notification message, and when you receive the message, there is no sound reminder or banner message display, it is only quietly displayed in the notification bar. How can I get a sound and banner message reminder?
Solution:
Showed quietly. How can I get a sound and banner message reminder?
Check the value of the passed category and confirm whether the self-categorized rights are activated.
If the notification message self-categorization of the notification message has not been activated, the notification message type will be classified as information marketing messages by default. And the notification message is information marketing. The message reminder method is silent notification and is displayed only in the notification center.
You can view the notification message reminder method:/consumer/cn/doc/harmonyos-guides-V5/push-apply-right-V5#section6152111813233
4. Problem description:
Does the pushed ringtone support custom settings?
Solution:
1. Push custom ringtones, not supported yet.
2. The test found that there was no sound in the push. Please confirm whether the notification message is self-categorized. If the notification message self-classification rights are not activated, the notification message type will be classified as information marketing messages by default;
Marketing message reminder method and message placement: Silent notification, only display messages in the notification center, which may be the reason for the current doubt.
/consumer/cn/doc/harmonyos-guides-V5/push-apply-right-V5#section12819174063215
5. Problem description:
The testMessage of push message is set to false, and the message cannot be received.
Solution:
It needs to be set to true during development. If false, there will be a limit on the number of messages being pushed. It needs to be changed to false when it is officially launched.
/consumer/cn/doc/harmonyos-guides-V5/push-apply-right-V5#section1128516504398
6. Problem description:
How to receive push messages similar to Android? Is it backend news?
Solution:
The next version currently does not support transmissible messages. It is recommended to directly use background messages. Refer to the document:
/consumer/cn/doc/harmonyos-guides-V5/push-background-0000001775644945-V5
7. Problem description:
When the App side receives a Huawei push server message, how to get the data of the payload payload part and print it? Does the ArkTS API seem to be able to receive messages only for specific scenarios?
Solution:
The types of pushes that can be received are as follows:/consumer/cn/doc/harmonyos-references-V5/push-pushservice-V5#section111121842145313
The scenario of pushing messages is as follows, corresponding to different push-types:/consumer/cn/doc/harmonyos-guides-V5/push-scenes-V5
The push-type:0 is not supported yet.
8. Problem description:
The first time it started, no pop-up window for notification authorization pop-up, the notification has been closed, and no notification message has been received.
Solution:
Regarding the use of application tracking (i.e. OAID permissions), since the reasons for most applications currently are not fully written and the reasons for using the pop-up frame are unreasonable, in order to bring a better experience, this feature will be offline first for rectification starting from the HDC B025SP86 version (that is, if you apply for a default rejection process, the user will not be prompted to agree). Modifying the corresponding pop-up frame style and the reasons for using the permissions of partners requires rectification. After the rectification is completed, it is expected to be launched again after July 30.