开发者社区 问答 正文

ios 多用户推送问题

在给多用户推送信息时,当其中一个用户的token有误时,在他之后的用户就无法收到推送信息,何解?
screenshot

展开
收起
杨冬芳 2016-07-01 10:57:21 1997 分享 版权
1 条回答
写回答
取消 提交回答
  • IT从业

    一是向苹果的服务推送消息时,如果遇到无效的deviceToken,苹果会断开网络连接,而JavaPNS不会进行重连。苹果原文:

    If you send a notification and APNs finds the notification malformed or otherwise unintelligible, it returns an error-response packet prior to disconnecting. (If there is no error, APNs doesn’t return anything.) Figure 5-3 depicts the format of the error-response packet.
    2019-07-17 19:49:49
    赞同 展开评论
问答分类:
问答标签:
问答地址: