Open bilalazam opened 10 years ago
By default pushd looks for 2 files apns-cert.pem and apns-key.pem in the pushd folder. To generate these files,You will need to generate a developer certificate for apns
http://quickblox.com/developers/How_to_create_APNS_certificates
Once you have the .pem file then separate it and save it with certificate part into apns-cert.pem and key part to apns-key.pem.
Restart pushd, and it should work. [you will be prompted for the passphrase, enter the same passphrase that was entered while generating the certificate]
Thanks Yogeshlele, i ll follow that, by any chance do you know about any docs/tutorial available for the android GCM of pushrd like that of iphone given in the main readme file.
Thank you Yogeshlele, but the link is for direct connection to GCM, dont we have to call pushd code to send messages after we have setup GCM for pushd? to take advantage of the abstraction that pushd would offer :confused: , is my understanding correct ?
me@ubuntu:~/pushd$ sudo coffee pushd.coffee info: Registering push service: event-source info: Registering push service: apns info: Registering push service: gcm info: Registering push service: http info: Registering push service: mpns-toast info: Registering push service: mpns-tile info: Registering push service: mpns-raw info: Listening on tcp port 80 info: Listening on udp port 80 error: APNS Error Error: ENOENT, no such file or directory 'apns-cert.pem' for subscriber undefined
The error at the end is something i am unable to understand and resolve, please help.