boring98 最近的时间轴更新
boring98

boring98

V2EX 第 17525 号会员,加入于 2012-03-08 15:30:15 +08:00
boring98 最近回复了
2012-03-08 15:36:49 +08:00
回复了 eary 创建的主题 iDev IOS信息推送的问题
使用Enchanted请求报文格式,用Identifier标识发送给苹果的每一条信息。使用此种请求报文格式如果苹果发现请求数据非法(如token无效),苹果服务器会返回错误信息,然后才断开连接。
参见:
https://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingWIthAPS/CommunicatingWIthAPS.html#//apple_ref/doc/uid/TP40008194-CH101-SW1
于是,你就可以在Identifier上打主意,对消息进行区别了。
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2640 人在线   最高记录 6547   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 412ms · UTC 15:59 · PVG 23:59 · LAX 08:59 · JFK 11:59
Developed with CodeLauncher
♥ Do have faith in what you're doing.