在不使用 Appcelerator Cloudpush (ACS) 的情况下接收从 APNS 到 Titanium (iOS) 应用程序的推送通知? [英] Receive push notifications from APNS to Titanium (iOS) App without using Appcelerator Cloudpush (ACS)?

查看:19
本文介绍了在不使用 Appcelerator Cloudpush (ACS) 的情况下接收从 APNS 到 Titanium (iOS) 应用程序的推送通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在负责 iOS 和 Android 应用的初始版本.开始这项工作的开发人员已经离开公司,我们只剩下一个不完整的 Titanium 应用程序需要完成.

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.

此应用程序完成后,我们不打算继续使用 Titanium.

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-modulehttps://marketplace.appcelerator.com/apps/5165#!overview

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 的指南,它可以直接连接到 Apple 服务器并且不需要通过 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?

谢谢

推荐答案

第一步是从apple获取设备token,要做到这一点你必须注册推送通知,你会找到它的详细信息这里

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.

希望有帮助.

这篇关于在不使用 Appcelerator Cloudpush (ACS) 的情况下接收从 APNS 到 Titanium (iOS) 应用程序的推送通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆