HarmonyOS Push Kit收不到推送消息了
推送入参:
{
"data": {
"privateKey": "MIIJQQIBADANBgkqhkiG9w0BAQEFAASCCSswggknxxxxxxbglFRjzv8F88Z92bzOFblYYRhDV/3IHrYSAERs33RHz6oCJllmQCrXnZp7iSDXw71XxMxAP5Vz+pcBja6QsUtQyPgR8SkrVEwOU+h8taONpxYqLfWjk3NAsmT4fvZCbZ8fgNjSfGSiUfj9DXMUxXikMxTrDHuWHq/xqD3LYM51PX/ul4QxkZ6K7zgYHBsOuqrZqHn1HrWUwSWYkdsnj4gUbfMceDAqGLpNUDdlYnyamwyi2D+A+PBGKmtu12nchcoKucPIFZJZSBa0oWwLYoYqe2fsMAGk0C0kwiF1A72aRfxL7sPgpGe+MZxHgvGWhXU/wgKOxor4WDCRRpxWXZBaRctX6i/rLGfX3kknwXo8tc+Q8bUtBmqxglBKM0jvJQAdPc7DbLxC4H62C09lLkj2g8jK6q67hIv1sWlEZ2KGEQdLp1N8G7nMjKdbvrnH2xxxyi9VkT1wNslprkCzdpDndEqS/0rrK10+sWHrX6sB0ci6UXZ0SdZkpSHjFE8O6Gxa+LZr4O/rcKx60FZpO4+gGqVYlup7rf1SUwfujJ7skqB7pfyH0BnF2yRC/YEEOUiCQPs39Os8WQfx0271HYyu/Uk4M8Xtmip1lQIOurx/twjmvas/IHFC1SGox+ioUO34OS8uFDKnFYwNhaHEGQIDAQABAoICABK5xiXn9wriZIETzv3v7bm3MTwSwJG1nveZCoxXAxkd1XbAimGr2R9TSsQER8afS/THo/Q6DINdCuFiL2WTB+Fl4f0h9uyxGiPZF4nNkqVtpVPwH+g1iz6o854pOg0G4G3pUT0hQWcn74pSIt8h1fvHNuJ5H9lmCNWLYjRwt0h+wuo6sm1fs9v62bkgigKAk4+ZG7le+FJouSzrKKa8ooau87b0Tgw1/m5qPmphgcknDG51H8PLNM99tZH4b5StNYJYFMnbNPOUzAaKgItjbUsy1jTH7zGJhZ9mAS6nOGRnPvQD77YZg/60go5Rqrmk/6c2/wr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OdVhNpl3BcG4XZIoYlHHz_kuTsvufFttS1WvUVMHFeMwtH3DmBJTXKnbuth0ydohr2tfXG1sT",
"projectId": "388421841221986016",
"pushType": "0",
"requestBody": {
"payload": {
"notification": {
"category": "IM",
"title": "推送标题-11",
"body": "副内容---> 11",
"profileId": "1111",
"image": "https://developer.huawei.com/allianceCmsResource/resource/HUAWEI_Developer_VUE/images/favicon.ico",
"notifyId": "1111222335",
"badge": {
"addNum": 1
},
"clickAction": {
"actionType": 0,
"data": {
"jumpType": "6",
"pushExt": "{\"selectedTab\":{\"tab\":\"/main/homepage\",\"param\":{\"pageType\":\"HOME_SCROLL_BOTTOM\",\"pageId\":\"3795\"}}}",
"pushMsgId": "n202403266xxxx4b016c9baa3d1d4",
"jumpShare": 0,
"pId": "1",
"id": "0-2-0p6y4edhb2",
"open": "1",
"jumpUrl": "https://xxx.xxxx.com/jxxxx-credit/account/guideLogin.html",
"pushType": "0"
}
}
}
},
"target": {
"token": [
"MAM0LgJt5icGkAYAstOY6QxxxxAAJl29QOdVhNpl3BcG4XZIoYlHHz_kuTsvufFttS1WvUVMHFeMwtH3DmBJTXKnbuth0ydohr2tfXG1sT"
]
},
"pushOptions": {
"testMessage": true
}
}
},
"traceId": "2024031xxxx03KnzkgZ",
"userId": "xxxx"
}
推送出参:
{
"data": {
"code": "80000000",
"msg": "Success",
"requestId": "171326082xxxxx91056501"
},
"code": 0,
"strCode": "00000",
"msg": "成功",
"showMsg": "成功",
"success": true
}
HarmonyOS
赞
收藏 0
回答 1
待解决
相关问题
鸿蒙消息推送Push Kit
70浏览 • 0回复 待解决
HarmonyOS 调用Push Kit REST API推送场景化消息问题
305浏览 • 1回复 待解决
HarmonyOS 离线推送收不到消息,通过requestId查询报其他错误
122浏览 • 1回复 待解决
HarmonyOS 接受不到推送消息
118浏览 • 1回复 待解决
请求华为push kit rest api推送场景化消息,响应结果80100016
290浏览 • 1回复 待解决
HarmonyOS推送收不到,postman调用推送Rest API显示成功,但是系统收不到,通知栏、角标都没有更新
1660浏览 • 1回复 待解决
HarmonyOS 消息推送只能推送特定类型的消息?
23浏览 • 0回复 待解决
HarmonyOS 消息推送功能
109浏览 • 1回复 待解决
HarmonyOS 华为Push kit相关问题?
18浏览 • 0回复 待解决
HarmonyOS 消息推送问题
252浏览 • 1回复 待解决
HarmonyOS是否支持消息推送?
1584浏览 • 1回复 待解决
使用CommonEventManager.createSubscriber创建订阅关系产生订阅后收不到系统消息
659浏览 • 1回复 待解决
HarmonyOS 使用push kit在AGC控制台发送消息,提示token不合法
47浏览 • 1回复 待解决
mate30鸿蒙系统,微信容易收不到消息,明明在后台运行,确收不到消息,还有一个问题是,手机会响一个铃声,
16035浏览 • 3回复 待解决
HarmonyOS 推送后台消息缓存问题
301浏览 • 1回复 待解决
HarmonyOS 推送消息类似透传消息怎么接?是后台消息吗?
27浏览 • 0回复 待解决
push推送成功但是端上没展示,看系统日志应该到端上了,服务端也显示推送成功了
115浏览 • 1回复 待解决
HarmonyOS postman 发送推送消息失败
384浏览 • 0回复 待解决
HarmonyOS 推送后台消息,未收到
880浏览 • 1回复 待解决
如何获取推送服务push token
315浏览 • 1回复 待解决
消息推送都有哪些方式?
246浏览 • 1回复 待解决
Socket有高概率收不到message
1993浏览 • 1回复 待解决
开发HarmonyOS应用,是不是只需要使用华为push推送就可以了,不需要接入三方push
249浏览 • 1回复 待解决
HarmonyOS 消息推送支持离线场景吗?
100浏览 • 1回复 待解决
消息推送获取token失败
1047浏览 • 1回复 待解决
经排查显示报错:profileId不存在。应该是系统升级导致的profileId字段失效,导致的推送失败,需要重新获取最新的profileId。麻烦参考文档重新获取最新的profileId字段,接入帐号校验能力文档参考:https://developer.huawei.com/consumer/cn/doc/HMSCore-Guides/account-profile-0000001057562781