title: push notifications not working on app store application - iphone
body: <p>I have created an application and uploaded it to itunes. The push notifications are not working for that now. In development it was working fine.
  I also have used this command to test the app:</p>
  
  <p>codesign -dvvvv --entitlements - /path/to/App</p>
  
  <p>And It has the following key:  </p>
  
  <blockquote>
    <p>&lt; plist version="1.0"><br>
    &lt; dict><br>
    &lt; key>application-identifier&lt; /key><br>
    &lt; string>UFWA3A8K32.com.etubez.webmap&lt; /string><br>
    &lt; key>aps-environment&lt; /key><br>
    &lt; string>production&lt; /string><br>
    &lt; key>get-task-allow&lt; /key><br>
    &lt; false/><br>
    &lt; key>keychain-access-groups&lt; /key><br>
    &lt; array><br>
    &lt; string>UFWA3A8K32.com.etubez.webmap<br>
    &lt; /array><br>
    &lt; /dict><br>
    &lt; /plist>  </p>
  </blockquote>
  
  <p>Then I tried to create the distribution certificates for adhoc and tried to install it to run the push for production environment but these are not working. The php webservice returns everything ok like:</p>
  
  <p><strong>Thu, 03 Mar 2011 21:03:14 +0100 ApnsPHP[3231]: INFO: Trying ssl://gateway.push.apple.com:2195... Thu, 03 Mar 2011 21:03:19 +0100 ApnsPHP[3231]: INFO: Connected to ssl://gateway.push.apple.com:2195. Thu, 03 Mar 2011 21:03:19 +0100 ApnsPHP[3231]: INFO: Sending messages queue, run #1: 1 message(s) left in queue. Thu, 03 Mar 2011 21:03:19 +0100 ApnsPHP[3231]: STATUS: Sending message ID 1 [custom identifier: Message-Badge-3] (1/3): 253 bytes. Thu, 03 Mar 2011 21:03:19 +0100 ApnsPHP[3231]: INFO: Disconnected.</strong></p>
  
  <p>But I am not receiving any push notifications.</p>
  
  <p>I also have tried to create the certificates again n again 3-4 times but not working.
  Can anyone help me in this regard?</p>
  
  <p>Edit: I am using this method to create the certificates:
  <a href="http://code.google.com/p/apns-php/wiki/CertificateCreation" rel="nofollow">http://code.google.com/p/apns-php/wiki/CertificateCreation</a>
  One certificate to use both for sandbox and production development.</p>
  
  <p>Many Thanks,<br>
  Nav</p>