Apple push notification is not working for distribution but working for development

ぃ、小莉子 提交于 2019-11-28 14:06:49

You probably use wrong deviceToken. Remember that production deviceToken and development deviceToken are different!

You should log your deviceToken and then iPhone Configuration Utility will log you correct production deviceToken.

I believe in server side not using the distribution PEM file. The main fundamental rule is App and server should run in same mode.If your app is running in debug mode then server also should also use the development PEM file and same like if your app is running in release mode then server also should use distribution PEM file.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!