Why iPhone don't receive push notification?

跟風遠走 提交于 2019-12-03 20:58:57

I solved it. It was because XCode signed app with iOS Team Provision Profile. After I deleted this profile, push notifications started to work.

When sending a push notification to apple, it returns you a status code. What is the status code you are receiving? Are you getting a 0 back?

Status codes
0   No errors encountered
1   Processing error
2   Missing device token
3   Missing topic
4   Missing payload
5   Invalid token size
6   Invalid topic size
7   Invalid payload size
8   Invalid token
255 None (unknown)
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!