HarmonyOS 无法收到推送通知

agc后台已配置好推送服务,但是尝试在后台进行推送到指定设备,指定设备无法收到通知,如图所示

HarmonyOS 无法收到推送通知 -鸿蒙开发者社区

HarmonyOS 无法收到推送通知 -鸿蒙开发者社区

HarmonyOS
2024-12-23 17:27:28
923浏览
收藏 0
回答 1
回答 1
按赞同
/
按时间
zbw_apple

1、skills标签对象中不可以同时设置actions、uris,设置了uris参数必须同时设置actions参数,且actions参数需要为空。

https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/push-send-alert-V5#section8794131614597

2、skills标签下可以同时存在多个对象,同时配置actions、uris属性可以参考以下分开配置。

"skills": [
  {
    "entities": [
      "entity.system.home"
    ],
    "actions": [
      "action.system.home"
    ],
  },
  {
    "actions": [""],
    "uris": [
    {
      "scheme": "https",
      "host": "www.test.com",
      "port": "8080",
      "path": "push/test"
    }
    ],
  }
],
  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
分享
微博
QQ
微信
回复
2024-12-23 20:23:24
相关问题
HarmonyOS 推送无法收到
749浏览 • 1回复 待解决
HarmonyOS 手机锁屏时无法收到推送吗?
1082浏览 • 1回复 待解决
HarmonyOS 服务端推送消息,SDK无法收到
1205浏览 • 1回复 待解决
HarmonyOS 推送通知
801浏览 • 1回复 待解决
HarmonyOS 推送后台消息,未收到
2100浏览 • 1回复 待解决
HarmonyOS 推送通知支持图文吗
610浏览 • 1回复 待解决
HarmonyOS 通知推送解决方案
1160浏览 • 1回复 待解决
HarmonyOS系统如何实现推送通知
854浏览 • 0回复 待解决
HarmonyOS 企业内部应用推送通知
823浏览 • 1回复 待解决
HarmonyOS 推送突然无法接收
570浏览 • 1回复 待解决