开发者

iDevice doesn't register with APNs

开发者 https://www.devze.com 2023-03-08 17:22 出处:网络
I 开发者_Go百科want to see how APNs should set up, I have made an App ID and server certificate. My App registers with my Provider (EasyAPNs), but when I try to send a pushmessage, Apple responds that

I 开发者_Go百科want to see how APNs should set up, I have made an App ID and server certificate. My App registers with my Provider (EasyAPNs), but when I try to send a pushmessage, Apple responds that my token cannot receive the message, I keep getting the Unregistering Device Token message.


Your device is not registered to Apple. You should add some code in the appdelegate to allow to receive notifications

Apple Documentation Registrer notifications


I do not know if it is the official way, but I solved it by making an 'official' ad hoc distribution and using a specific distribution provisioning file.

0

精彩评论

暂无评论...
验证码 换一张
取 消