[英]push notifications in enterprise accounts
I am working in a company,which has an app which they want to publish as an in-house app, using an enterprise account, after uploading the .pem file in order to start receiving push notification to the device, the server error was as following: 我在一家公司工作,该公司有一个应用程序,他们希望使用企业帐户将其发布为内部应用程序,在上载.pem文件以开始将推送通知接收到设备后,服务器错误为以下:
... GeneralException, "message":"Unable to connect: tls:\/\/gateway.sandbox.push.apple.com:2195:2 (stream_socket_client()": SSL operation failed with code1 ...
any idea what the error is? 知道错误是什么吗? is it from the certificate or from the server? 是来自证书还是来自服务器? thanks 谢谢
Based on our experience and development scenarios a regular enterprise push notification can be easily sent with an enterprise (or in-house) development account. 根据我们的经验和开发方案,可以使用企业(或内部)开发帐户轻松发送常规的企业推送通知。
Below is a quick guide to configuring the enterprise developer portal for development (beta) and distribution push notification. 以下是配置企业开发人员门户以进行开发(beta)和分发推送通知的快速指南。 Just the enterprise guidelines to keep in mind. 请牢记企业准则。
First of all, some proof that we are actually talking about an In-House dev account: For this issue please create a new AppID in the dev portal at Apple. 首先,有一些证据证明我们实际上是在谈论内部开发人员帐户:对于此问题,请在Apple的开发人员门户中创建一个新的AppID。 At the bottom, you can see the checkbox for “Push Notifications”. 在底部,您可以看到“推送通知”复选框。 Check it and Submit When submitted it gives a green sign, indicating that Push is enabled for this AppID. 检查并提交提交时,它会显示绿色标志,表示已为此应用程序ID启用“推送”。
After that, you can see that for this AppID (still in-house) push can be configured. 之后,您可以看到可以为该AppID(仍在内部)配置推送。 Just like with regular APNS. 就像常规的APNS一样。 Then you can download the push certificate and use. 然后,您可以下载推送证书并使用。
For more details you can go on to the link shared below : 有关更多详细信息,请转到下面共享的链接:
https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/DistributingEnterpriseProgramApps/DistributingEnterpriseProgramApps.html https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/DistributingEnterpriseProgramApps/DistributingEnterpriseProgramApps.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.