I have released an app on iOS. Push notifications worked well for ad hoc distribution build. They won't work for released app. I am using PushWizard to send push notifications. It has been a week and I have tried all of the below :
- The signing identities are totally correct, I have signed the released app with the distribution certificate.
- The provisioning profile that I have used for release has the correct non - wildcard app ID.
- The certificate that is used for sending push on the server is the APN distribution certificate, though I have not replaced it after release of the new version of app, and I don't think that should be an issue.
Is there anything that I am doing wrong that is causing the APNs to send the "invalid token" error? I am using the same device that I used for dev and adhoc to test the release build. Perhaps, is that the problem ?