adobkin / libcapn

A simple C Library for interact with the Apple Push Notification Service (APNs)
MIT License
100 stars 35 forks source link

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

Closed fdxuwei closed 9 years ago

fdxuwei commented 9 years ago

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.

adobkin commented 9 years ago

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 https://github.com/adobkin/libcapn/commit/3546927c3ad5e0f02180f7010afcffde4e7d4139

fdxuwei commented 9 years ago

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

adobkin commented 9 years ago

Please try v2.0.0, it work fine