I have tested push notifications using developer certificate and it is working well but when i tried through production certificate and make a build with IOs app store deployment profile and upload to itunes for testflight internal testing. Moreover, i am not getting any push notification using testflight build.so how we can test production apple push notification using testflight. So is there any possibility to test that notification before app published?.
4
votes
2 Answers
1
votes
Yes you can test push notifications before publishing the app using testflight builds. Few things you have to do before uploading the build:
- Make sure you have generated production push SSL certificate and replaced the development push certificate with the newly generated production certificate on the server.
- Make sure you have created/renewed distribution provisioning profile after you have generated production push certificate.
- Use newly created/updated provisioning profile for the build you are uploading to the iTunesConnect.
If you did all this steps, you should be able to test push notifications from testflight builds, at least, this is the way I do test push notifications. Hope, this was helpful.