Push Notifications with Titanium and Urban Airship

Fresk leaves invoking a happy mood.

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.