Receive push notifications from APNS to Titanium (iOS) App without using Appcelerator Cloudpush (ACS)?

无人久伴 提交于 2019-11-28 10:50:07

问题


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.

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

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?

Thanks


回答1:


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.

Hope it helps.



来源:https://stackoverflow.com/questions/24301077/receive-push-notifications-from-apns-to-titanium-ios-app-without-using-appcele

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!