adobkin / libcapn

A simple C Library for interact with the Apple Push Notification Service (APNs)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I can't receive message when i use the newest libcapn?

fdxuwei opened this issue · comments

commented

I can success push and receive message when i use libcapn of version 1.0.0, but when I use the version 1.0.0berta3 , I send a message by the example code in send_push.c, no error message printed, but my iphone receive no message.

You need compile and install libcapn from sources (master branch). Version 1.0.0 does not support TLS connection.
see https://developer.apple.com/news/?id=10222014a
see 3546927

commented

I tried the source of master branch, but it still dosen't work.

Please try v2.0.0, it work fine