I have developed a simple application that uses APNS. The app runs fine and receives notifications when i used my host for php but its not receiving Notifications when i send the php code with certificate to a person who is in another country. he then executes the apns php code on its side but the iPhone app does not receive any Notifications. Its giving error of primary key in php code.
I have followed this tutorial http://www.raywenderlich.com/3443/apple-push-notification-services-tutorial-part-12
Please help.
I have figured out the solution of my problem, its was the issue of pass phrase. On server side we have to enter the pass phrase while adding .pem file to server.