Receive push notifications from APNS to Titanium (

2020-02-14 20:30发布

问题:

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.