/ Ad Hoc

iOS pushes are not working

Q: iOS Push Notifications are not working!

A: Important: Always check your “Pushes” page for the warnings!

Open your mobileprovisioning profile and make sure it contains “aps-environment” string in it. If not – recreate the mobileprovisioning profile in Apple Developer Center. Make sure “aps-environment” value matches the gateway you use. Sandbox for “development” and Production for “production” values.

If you use Ad-Hoc make sure you use the Production push certificate.

Make sure you remove all stale profiles during development on the device or the device might not request a new token for push notifications properly.