how we can test Production Push notifcation on testflight?

3.5k Views Asked by At

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?.

2

There are 2 best solutions below

2
On

Yes you can test push notifications before publishing the app using testflight builds. Few things you have to do before uploading the build:

  1. Make sure you have generated production push SSL certificate and replaced the development push certificate with the newly generated production certificate on the server.
  2. Make sure you have created/renewed distribution provisioning profile after you have generated production push certificate.
  3. 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.

3
On

Create Adhoc Distribution Profile from member center and take ipa file or you can use testflight.

You can test production certificate using adhoc.