Push Notifications with Titanium and Urban Airship

0 Flares 0 Flares ×

Today our good buddies over at Urban Airship published a quick how-to on integrating Apple’s Push Notifications service into your Titanium application.  Really cool stuff – using Titanium’s client side support for push notifications with Urban Airship helping out on the server side has got to be the easiest way to get push running in an iPhone application today.


Titanium.Network.registerForPushNotifications({
    types:[
        Titanium.Network.NOTIFICATION_TYPE_BADGE,
        Titanium.Network.NOTIFICATION_TYPE_ALERT,
        Titanium.Network.NOTIFICATION_TYPE_SOUND
    ],
    success: successCallback,
    error: errorCallback,
    callback: messageCallback
});

Check out the whole walkthrough here.

0 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 0 Email -- 0 Flares ×

Sign up for our blog!

computer and tablet showing Appcelerator software
Start free, grow from there.
0 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 0 Email -- 0 Flares ×