x***@yeah.net
x***@yeah.net
  • 发布:2020-08-21 11:47
  • 更新:2021-01-11 07:53
  • 阅读:833

uniPush问题,uniapp对个推客户端封装,和 收到的消息对象问题

分类:HTML5+
  1. uni-app 中,plus.push.addEventListener( event, listener, Boolean ); 是不是 就是 https://uniapp.dcloud.io/use-html5plus中 plus.globalEvent.addEventListener 来实现的?

  2. uni-app 中,plus.push.addEventListener('receive', (msg)=> { }); 这里的 msg 我这边数据 类如
    {
    "UUID":"androidPushMsg213681680",
    "title":"2020-08-21 11:13:42通知",
    "appid":"UNI8FB5A53",
    "content":"2020-08-21 11:13:42通知",
    "payload":"{\"title\":\"2020-08-21 11:13:42通知\",\"content\":\"2020-08-21 11:13:42通知\"}"
    }
    其中 "UUID":"androidPushMsg213681680", 这个id 是怎么来的,逻辑意义是什么?

  3. 个推的客户端 有接口
    onNotificationMessageClicked
    onNotificationMessageArrived
    onReceiveMessageData
    onReceiveOnlineState
    onReceiveClientId
    onReceiveServicePid
    isPushTurnedOn
    这些 分别怎么包装的?

2020-08-21 11:47 负责人:无 分享
已邀请:
猛子

猛子

卡卡

459114173

459114173 - 90IT

同问

rmlx

rmlx

同问

该问题目前已经被锁定, 无法添加新回复