可以通过如下链接查看,https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/module-configuration-file-V5\#skills%E6%A0%87%E7%AD%BE1、uris和action可以同时存在。不过actions和uris不能在同一个对象中,需要在不同的对象中才可以。2、以首页的skills为例,下方的skills配置 是可以正常收到消息的 且点击也没有问题:"skills": [ { "entities": [ "entity.system.home" ], "actions": [ "action.system.home", "action.ohos.push.listener", ] } , { "uris": [ { "scheme": "https", "port": "8080", "host": "com.xx.pushsvc.impl", "path": "notify_detai" } ] } ]
可以通过如下链接查看,https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/module-configuration-file-V5\#skills%E6%A0%87%E7%AD%BE
1、uris和action可以同时存在。不过actions和uris不能在同一个对象中,需要在不同的对象中才可以。
2、以首页的skills为例,下方的skills配置 是可以正常收到消息的 且点击也没有问题: