title: Uploading app to appstore
body: <p>I have created an app which using APNS. I have got the push notifications when I used developer certificate and its working fine. I installed it through Adhoc method. Now I need to upload my app to appstore. I build my app with distribution certificate and put the same in the server also, but not getting any notifications. This is my first time i am doing this. I have went through so many forums and I got so many situations. One is, the token ID (i think it is the same as device token) should be different in development and production mode, but I am getting same token ID. But still I am not sure about the issue. 
  So I have some questions, which certificate should i use in my app and at the server when uploading to appstore? And should I use Sandbox or production server?
  Please give me a clear idea about all these.
  Thanks</p>