New Command 2 Apple Push Notification Not sending multiple alerts

前端 未结 3 700
有刺的猬
有刺的猬 2020-12-20 02:52

I am trying to implement the new \'Command 2\' push notification in Java and cannot have it push multiple alerts. First alert is pushed successfully. Please help if you can

3条回答
  •  -上瘾入骨i
    2020-12-20 03:17

    The command 2 and the frame data length applies to each message. If you send multiple messages in one connection, then for each message: send command 2, the message's frame data length, and the 5 parts (token, payload, id, expiry, priority)

提交回复
热议问题