Push notification not working for the production environment
Posted
by Marcelo
on Stack Overflow
See other posts from Stack Overflow
or by Marcelo
Published on 2010-05-25T01:08:25Z
Indexed on
2010/05/25
1:11 UTC
Read the original article
Hit count: 409
I have spent a whole day on this already but still didn't go anywhere.
When I run my app in the development mode, I can get the push messages I send to myself thru PushMeBaby without a problem. However, when I try to test it in the production environment, I cannot get any push. I re-generated all the certificates and provisioning profiles, used the aps_production_identity.cer as the certificate for push, changed the ssl to gateway.push.apple.com, and did a release build for the app, but still couldn't get it to work. I found that in PushMeBaby, the line
result = SSLHandshake(context);
returns error -9844. Does it mean that something is wrong with the aps_production_identity.cer file?
This is driving me nuts, can somebody offer a little help?
Much appreciated!!!
© Stack Overflow or respective owner