I am using EasyAPNS for Push Messaging and I kept getting the following error when switch a device to Production:
APNS responded with error for pid(201). status(8: Invalid token)
As I understand you have separate device tokens for sandbox and production, but it is only registering the sandbox device token. I have set up both development and distribution provisioning profiles and set them correctly in both the target and the project setting.
Can anyone tell me what I'm doing wrong or shed some light on this matter?
Thanks in advance.