简体   繁体   English

在生产环境中未收到推送通知

[英]Push notifications not received in Production Environment

I have created an application that should receive push notifications. 我创建了一个应接收推送通知的应用程序。 Unfortunately, the push notifications are only received in a test environment and not in a production environment. 不幸的是,推送通知仅在测试环境中而不在生产环境中接收。

I have checked all I had to check, I also created an app with provisioning "ad-hoc", but unfortunately nothing I do solves the problem. 我已经检查了所有必须检查的内容,还创建了一个配置为“ ad-hoc”的应用程序,但是很遗憾,我所做的任何事情都无法解决问题。

What am I doing wrong? 我究竟做错了什么?

如果要在生产环境中接收通知,则必须生成具有生产证书的应用程序,并生成包含所有生产文件和证书的.p12文件。

Resolved. 解决。 The problem was the digital certificate for the service of apn for the production of Apple I had to recreate the certificate following this forum: 问题是用于苹果生产的apn服务的数字证书,我不得不在此论坛后重新创建证书:

Cannot send push notifications using Javapns/Javaapns SSL handshake failure 无法使用Javapns / Javaapns SSL握手失败发送推送通知

Thank you all. 谢谢你们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM