Ionic1: sending push notifications to a local build

I have a pretty simple set up to send push notifications to my iOS app.

Essentially whenever a person logs in their device token is registered to the website where all of the info for the app comes from. Then when I want to send a push notification I send an API call to https://api.ionic.io/push/notifications. This works when in test flight and in production but doesn’t seem to work when I am doing a local build (plug my phone into my computer and do a build) so I assume their is something wrong with my local env (it should be noted that a new device token is registered to the website though). Is there anything I should be looking for?

I’m using the phonegap-plugin-push plugin, I am testing on iOS and I am using ionic 1.