iOS Push not working for TestFlight

Hello,

I’m having some trouble getting iOS push notifications to work specifically for iOS TestFlight. I have followed the instructions here http://docs.ionic.io/services/profiles/#ios-setup to setup everything for iOS. I created a development security profile and have push working when I install the app directly through Xcode.

However, when I archive the app and upload it to TestFlight push is no longer working. I’m sending push notifications using curl commands and checking their status using ionic’s push endpoints http://docs.ionic.io/api/endpoints/push.html.

A few times I have gotten a message with the error code of APNS_BAD_DEVICE token but most times I get no failure data back from ionic in a message looking like this:

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 118 100 118 0 0 279 0 --:–:-- --:–:-- --:–:-- 289{“meta”: {“status”: 200, “request_id”: “52ad8711-17b7-4273-8bf8-5868ad3000a7”, “version”: “2.0.0-beta.0”}, “data”: []}

As a temporary fix, I changed my archive scheme to debug and re-deployed to TestFlight but am getting the same results.

I’ve tried re-creating my security profiles several times but no luck here.

Any ideas for some good debugging / problem-solving steps?