Xcode Push Notification: APNS server for production mode

旧城冷巷雨未停 提交于 2020-01-03 08:47:10

问题


I'm realizing my first app with push notification. I've done all the debugging following the Ray Wanderlich Tutorial and everything works.

Now that I'm about to proceed with the submission I would like to know what parameters I have to insert for the "live" server in production mode instead of

gateway.sandbox.push.apple.com 2195

Hope to be clear


回答1:


I think the port is the same, only the host is different, it's gateway.push.apple.com.

The binary interface of the production environment is available through gateway.push.apple.com, port 2195; the binary interface of the development environment is available through gateway.sandbox.push.apple.com, port 2195.

Source



来源:https://stackoverflow.com/questions/9399356/xcode-push-notification-apns-server-for-production-mode

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