I have an app ,that is live on App Store, which uses Push notification as one of its features. While using development mode device token is successfully created but when I use production provisioning profile device token is not generated.I am using old production provisioning profile on which the app is live. So should I create new Production Provisioning Profile or am I doing something wrong.
Related
I have developed an application which supports GCM push notifications through APN, but the certificates are created in development environment now i need to upload that app to the App Store.
What should I do now:
So can i directly edit and upload the new CSR
Or should i follow the whole new process by creating new app id to upload the app to App Store.
Or in some other way?
What way should I follow.
You can edit existing App ID and use same CSR you used for development.
Here is the link you can review for enabling push notification for production environment.
https://support.magplus.com/hc/en-us/articles/203808718-iOS-Creating-a-Push-Notification-Certificate
For App Store submission, you need to create App Store profile.
I have submitted my iOS app for the App Review. It uses Push Notifications, and I send push messages from my server. During development I used one type of APNS certificate, and sent to tls://gateway.sandbox.push.apple.com:2195 address. On the production stage, the certificate and the address are different. Which ones should be set for the app review process - production or development mode?
You should use production certificates/provisioning profile for app review process.
I have a small question about iTunes connect beta testing.
So for this we have to upload a build to the app store and then enable internal tester. As Xcode does not allow us to sign an app with Ad Hoc provisioning profile to upload it to app store and it has to be the distribution profile to upload it to app store.
So my question is that when i sign it with distribution profile the push notification use the production server, and may be my production server is not ready at that time so how should we can get around this issue.
So there are two thing one the production server for the push notification and other is the production server for API calls. I can always use development server URLs but when i sign with distribution profile. I Think it will automatically use the production server for the Push notifications
Use the distribution certificate, and in your development server use the same distribution push certificate .PEM (you can re-use this .pem later on your distribution server).
I want to submit my app which uses push notifications. Now i have a app id in provisioning portal which has push notifications enabled for PRODUCTION but not for DEVELOPMENT. Do i have to enable push notifications for DEVELOPMENT as well for submitting to app store?. Also the provisioning profile for app store is to be created in the usual way or is there something different involved?
Thanks in advance!!
No you don't have to enable Push for Development to submit in the store, only enable for Production it will do. But make sure you have used the same app id to create your Distribution Profile, and submitted to store.
#iphonic is correct you only use the development certificate for development and you use production for Ad-Hoc or App Store submissions.
I have push notifications working on my main development device... but it is not working for my test device (using the same application). Does the test device also need to be set up as a development device? The app works.. it just does not populate the device token up to the server. I need to be able to send the app to testers and have push notifications work for everyone.
Beware that an app built with a development provision profile, must be notified trough the sandbox-version of the PNS-service with a development push certificate. If your application is built with a distribution sertificate ( either ad hoc or App store), you must use the production PNS-service with a production push certificate.
Hope this helps:)