I am able to receive push notifications on a device that is registered as a test device however 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.
=======
- Configured the app to use the development *.cer and *.p12 files.
- iPhone that is configured to be a test device.
- Compile my app (from Xcode) on my test device and receive a test push notification.
- Disconnect the device (from Xcode) and receive a test push notification.
- Successfully receive a regular (not test!) push notification from the same compiled app.
- Delete the device from the list of test devices and send a regular push notification and receive it just fine.
- Archive the app for TestFlight which requires the Distribution Provisioning Profiles to be used (Verified during validation that they were mapped/using the correct ones.)
- Attempt to send a push notification, receive an error that ther is an 'Invalid token'. screenshot - invalid token
- Change the *.cer and *.p12 files to the distribution files.
- Attempt test push notification and receive nothing. No invalid token, however zero devices are now "push available". screenshot - zero devices
- Also, no 'report' from the push history.
What am I not configuring properly?
Again, thanks for any help.