iOS APNS开发[沙箱] vs生产

我有一些麻烦,弄清了APNS(推送通知)开发人员(沙盒)和生产模式之间的关键差异.特别是我有以下问题:

1)我可以在应用商店中启动一个只能注册APNS开发者证书的推送通知的应用程序吗?或者我需要使用APNS Production来应用我想要在应用商店上启动的应用程序吗?

2)一般来说,除了“开发APNS”和“生产APNS”之外,功能原因是什么,这可以告诉我的决定.特别是为什么我选择为我的应用程序实现APNS Developer证书,以及为什么不在生产推送帐户上运行所有内容?

这是苹果公司在网站上所说的,但它并没有达到我的问题的核心:

Development: Use the development environment for initial development and testing of the provider app. It provides the same set of services as the production environment,although with a smaller number of server units. The development environment also acts as a virtual device,enabling simulated end-to-end testing.
You access the development environment at gateway.sandbox.push.apple.com,outbound TCP port 2195.

Production: Use the production environment when building the production version of the provider app. Apps using the production environment must meet Apple’s reliability requirements.

解决方法

如果您要将应用程序发布到应用商店,您将需要使用生产配置配置文件,因此与APNS开发人员证书一起发送的所有通知都不会到达使用生产配置配置文件签名的应用.

为什么不使用生产APNS证书?那么你可以做到这一点,但…

>为了测试,您将需要使用生产专用配置配置文件构建您,这是一个额外的工作>测试通知让所有的东西都进行生产,所以你必须要特别小心

以上是来客网为你收集整理的iOS APNS开发[沙箱] vs生产全部内容,希望文章能够帮你解决iOS APNS开发[沙箱] vs生产所遇到的程序开发问题。

如果觉得来客网网站内容还不错,欢迎将来客网网站推荐给程序员好友。