接收来自APNS推送通知钛(iOS版)应用程序,而无需使用Appcelerator的Cloudpush(ACS)? [英] Receive push notifications from APNS to Titanium (iOS) App without using Appcelerator Cloudpush (ACS)?
问题描述
我现在负责为iOS和Android应用程序的初始版本。启动该工作的开发人员已经离开公司,我们留下了一个不完整的钛应用程序来完成。
I'm now responsible for a initial release of an app for iOS and Android. The developer that started the work has left the company and we are left with an incomplete Titanium application to finish.
一旦这个程序完成后,我们不打算继续使用钛。
Once this app is finished we do not plan to continue using Titanium.
我们需要推送通知添加到该应用程序。
We need to add push notifications to this app.
我们已经启用了使用使用标准的GCM推送服务器的Android推送通知的http:/ /iamyellow.net/post/40100981563/gcm-appcelerator-titanium-module 或 HTTPS !//marketplace.appcelerator.com/apps/5165#概述
We have enabled Android push notifications using the standard GCM push servers using http://iamyellow.net/post/40100981563/gcm-appcelerator-titanium-module or https://marketplace.appcelerator.com/apps/5165#!overview
有谁知道导向,以使用APNS直接连接到苹果服务器,也不需要通过ACS发送通知的有效载荷?的
Does anyone know of a guide to use APNS that connects directly to the Apple servers and does not require sending the notification payload via ACS?
感谢
推荐答案
第一步是获得来自苹果设备令牌要做到这一点,你必须推送通知注册,您将详细找到<一个href=\"http://docs.appcelerator.com/titanium/3.0/#!/guide/Subscribing_to_push_notifications-section-37551717_Subscribingtopushnotifications-ObtainingadevicetokenoniOS\"相对=nofollow>这里
The first step is to get the device token from apple to do this you have to register for Push notifications, you will find it in detail here
这是如下保存令牌数据库,并用它来发送推送通知,这的博客最好的解释吧。
The process that follows is saving the token to your database and using it to send Push notifications, this blog explains it best.
希望它帮助。
这篇关于接收来自APNS推送通知钛(iOS版)应用程序,而无需使用Appcelerator的Cloudpush(ACS)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!