HarmonyOS 推送通知类消息未收到,已请求通知权限,网络正常

call harmony push service success! 
[request url]: https://xxx.push.xxx.com/v3/388421841221625380/messages:send 
[request headers]: {Authorization=Bearer eyJraWQiOiJkOGMzYjRjNDc2NzE0NjQ2YjM5ZDdjNDhhNzY3Ymxxx6IkpXVCIsImFsZyI6IlJTMjU2In0.eyJhdWQiOiJodHRwczovL29hdXRoLWxvZ2luLmNsb3VkLmh1YXdlaS5jb20vb2F1dGgyL3YzL3Rva2VuIiwiaXNzIjoiMTEwNzIzNzMzIiwiZXhwIjoxNzEyNTc1MDA2LCJpYXQiOjE3MTI1NzE0MDZ9.vrxac3zCUIbdOlsAotKC6LUh9ajwWZEz7XwwfBRdLANw4HNK6ML_LNYVmIRpxuXHaaVui7uh9X9Mj2H5OaJKC6XYRM7BNQbmZP5rVIf9y3LUAO77qj8f7Gxv7euv4OLG6hdnCFcfBiIkbuESvSBsd4LPAwASMybnAK3PZJihcmEunhEonHshvXPXcgkkATo-3C26rOcVKH3zgzV9T_5WcgQ7UFBWywB2UGmaN-tiqI1yxxxxxxxxxxxxxxxx265RwpiazB0qslQVHjOMC1aEhZiOuMe-2GgfUnZDnQok3_JyJxV_XmB_x-oB5g3o-8M4rqgG_im4xZ2jUKGbBanv2xIVHqWdKBM_GgOtF8slv87tNy3mLoTaPqHyf3PTpVsz_q-8PzpP-n2fy5N0MqobTmVYSVIkXFtmxqqoh2MQy7vn8-pyLLgHYbGteQG70ffTB9PSCaC-4k7VtOxUbIvXsEkYtgbGXbafGWTSThLSlYD5g3A1X9qz0Wa-d9mtR9jajjty5NpN2ecSz1Buga3DbpUj0LZdfFenUyO64ymIaJ0L_7lr-svmzuCL5xACnicmETuZ6-8rEs5_skqjYHfv4qoBKOVHV3HNTGdFp5EyuRPAkd-Qzb-iw4aaI-RoJQW42gY28tdJ1P0uPKcrRRfWFwvVqvGZ78gCGeNl0fZgYOVGVvppmDQ, push-type=0, Content-Type=application/json;charset=utf-8} 
[request body]: {“payload”:{“notification”:{“category”:“MARKETING”,“title”:“多图文”,“body”:“多图文多图文”,“image”:“https://xxx.xxx.xxx.cn/File/TemplateMessagePublic/G20231120G43817758G3xxxxxx9352D5C365C355C.DAT”,“clickAction”:{“actionType”:1,“action”:“com.cmbchina.ccc.cmblife.action”},“badge”:{“addNum”:1}}},“target”:{“token”:[“MAM6LgJh_-cFBQEAstOKGQAAAGQAAAAAAAIGscQInTtz4Y2Xm9ncR-olsEPtnSntOLBPggOxxrJjk_MncGQ1-DqX9bpH5zeR_8EW-dJt_DYHKS8S”]}} 
[response body]: {“code”:“80000000”,“msg”:“Success”,“requestId”:“171257140728659756032001”}
HarmonyOS
2024-08-22 23:45:41
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
zbw_apple

建议在测试阶段发送测试消息:可以设置pushOptions.testMessage为true,发送测试消息,每个项目每日可推送总共1000条测试消息(非设备级,所有设备共用1000条)且不受场景化消息频控,例如如果有5台设备,每次消息发给五个设备,总共可以发200次,共计1000条;参考文档:https://developer.huawei.com/consumer/cn/doc/harmonyos-references/push-msg-freq-control-0000001775570277

分享
微博
QQ
微信
回复
2024-08-23 16:19:20
相关问题
HarmonyOS 推送后台消息未收到
683浏览 • 1回复 待解决
怎么获取是否开启推送通知权限
2122浏览 • 1回复 待解决
HarmonyOS 消息通知使用示例demo
189浏览 • 1回复 待解决
HarmonyOS 消息通知与状态颜色修改
213浏览 • 1回复 待解决
HarmonyOS 扩展通知消息未触达问题
235浏览 • 1回复 待解决
单框架如何获取系统所有通知消息
1681浏览 • 1回复 待解决
如何做到点击通知消息打开应用
336浏览 • 1回复 待解决
如何设置给消息通知设置提醒方式
1528浏览 • 1回复 待解决
HarmonyOS 消息推送问题
211浏览 • 1回复 待解决