11
votes

I stopped receiving the push notifications after the certificate got expired and new certificate has been created. I've updated the p12 certificate on the server.

I'm using Pusher application to debug the issue further and I tried importing the p12 certificate with the device token. It says "APN invalid token".

Same method works for my other application.

Notification Error: APN invalid token Please help me with this I'm not an expert, I tried searching the solution in SO but couldn't find the exact problem.

Any tips will also be appreciated. Thanks in advance!

1
Most likely the reason will be - using sandbox device token with production APNS server or vice versa. Can you please re-check & make sure that both app & server are on same production environment? - Ayush
Hi, did you solve this problem? - 鸡肉味嘎嘣脆

1 Answers

0
votes

Check project configuration - it has to be Release not Debug.