简体   繁体   English

从XMPP服务器外部的iPhone中推送通知

[英]Push notification in iPhone from outside XMPP server

I create application and i want to use push notification in it. 我创建了应用程序,我想在其中使用推送通知。 But application use outside servers (i nave not access to config this servers), eg XMPP server(xmpp.org, jabber.org etc.). 但是应用程序使用外部服务器(我无法访问此服务器的配置),例如XMPP服务器(xmpp.org,jabber.org等)。 As i understand from apple documentation, for get notification, i must send notification with token to APNS from server (my server). 从Apple文档中了解,要获取通知,我必须从服务器(我的服务器)向APNS发送带有令牌的通知。 Isn't it? 是不是 How i can send notification from outside server? 我如何从外部服务器发送通知?

I know it is possible, for example IM+. 我知道有可能,例如IM +。

its not possible to create it without sending notifications to apple server... but if you think out of the box you can create a layer with your own server which will act like a mediator between your app and your outside server. 无法在不向苹果服务器发送通知的情况下创建它……但是,如果您认为开箱即用,则可以使用自己的服务器创建一个图层,该图层将充当您的应用程序与外部服务器之间的中介。 now you have control over this mediator server here you can send message to apple server to send push notifications to server.. 现在您可以控制此中介服务器,在这里您可以向Apple服务器发送消息,以向服务器发送推送通知。

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

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