Server name of apple for push notification testing in Production

一曲冷凌霜 提交于 2020-01-16 01:10:55

问题


What is the apple server's/host name for push notification testing of iPhone in production mode?


回答1:


For production:

gateway.push.apple.com, port 2195

For development:

gateway.sandbox.push.apple.com, port 2195

Note: Every app generates different pushtokens for production and development mode. Don't send the same one to both.

Source: Apple



来源:https://stackoverflow.com/questions/19784043/server-name-of-apple-for-push-notification-testing-in-production

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