boring98's recent timeline updates
boring98

boring98

V2EX member #17525, joined on 2012-03-08 15:30:15 +08:00
boring98's recent replies
Mar 8, 2012
Replied to a topic by 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上打主意,对消息进行区别了。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2751 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 15:35 · PVG 23:35 · LAX 08:35 · JFK 11:35
♥ Do have faith in what you're doing.