I am unable to receive any push notifications from a build distributed via TestFlight. Below are the steps I took during testing and deployment of a build for TestFlight. Any assistance in pointing out the flaw would be greatly appreciated.
Thank you in advance.
I have configured the app to use the development *.cer and *.p12 files.
I have an iPhone that is configured to be a test device.
I am able to compile my app (from Xcode) on my test device and receive a test push notification. I am able to disconnect the device (from Xcode) and receive a test push notification. I am able to receive a regular (not test!) push notification from the same compiled app.
I then delete the device from the list of test devices and send a regular push notification and receive it just fine.
I then bundled the app for TestFlight which requires the Distribution PPs to be used (I verified during validation that they were mapped/using the correct ones.)
When I attempt to send a notification I receive the error that I have an 'Invalid token'.
Which leads me to change the *.cer and *.p12 files to the distribution files.
I attempt my final test notification and receive nothing. No invalid token, however zero devices are now "push available".
And I have no report from the push history.
What am I not configuring properly?
Again, thanks for any help.
Please sign in to leave a comment.