简体   繁体   English

在企业帐户中推送通知

[英]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.

相关问题 使用iOS Enterprise和Developer帐户设置推送通知 - Push Notifications setup using iOS Enterprise and Developer accounts 为企业放弃IPA(带有推送通知) - Resigning IPA (with push notifications) for Enterprise 切换到企业分发后,推送通知不起作用 - Push notifications not working after switching to Enterprise distribution 生产企业应用程序时未收到推送通知 - Not receiving push notifications when enterprise app is in production iOS推送通知适用于开发人员,但不适用于企业分发 - iOS Push Notifications work for Dev but not Enterprise Distribution Apple Push Notifications + TestFlight + Enterprise通配符配置文件 - Apple Push Notifications + TestFlight + Enterprise wildcard provisioning profile 使用来自不同开发者帐户的不同证书签名的应用程序的iOS推送通知 - iOS Push Notifications for an app signed with different certificates from different dev accounts 管理IOS Developer和IOS Enterprise Developer帐户 - Managing IOS Developer AND IOS Enterprise Developer accounts TestFlight分发是否适用于Apple Enterprise Developer帐户? - Is TestFlight Distribution Available to Apple Enterprise Developer Accounts? PWA 的推送通知或 Web 推送通知 - Push notifications or Web push notifications for PWA
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM