Using the Titanium PushNotifications API

The Titanium Cloud module abstracts ACS REST API calls using JavaScript methods. By using the Cloud module, you can directly subscribe and unsubscribe from push notification channels and send push notifications to devices. ACS provides two mechanisms to send push notifications. One relies on the user session, which requires the user to be logged in to receive push notifications. The other method only requires devices tokens, which does not require the user to be logged in to receive notifications. For the complete API, s ee Titanium.Cloud.PushNotifications .

To add the Cloud module to your project, which is part of the Titanium SDK:

Open your project's tiapp.xml file.
In the Modules section, click the Add button (green plus sign).
Select ti.cloud and click OK .
Using the Titanium PushNotifications API

The Titanium Cloud module abstracts ACS REST API calls using JavaScript methods. By using the Cloud module, you can directly subscribe and unsubscribe from push notification channels and send push notifications to devices. ACS provides two mechanisms to send push notifications. One relies on the user session, which requires the user to be logged in to receive push notifications. The other method only requires devices tokens, which does not require the user to be logged in to receive notifications. For the complete API, s ee Titanium.Cloud.PushNotifications .

To add the Cloud module to your project, which is part of the Titanium SDK:

Open your project's tiapp.xml file.
In the Modules section, click the Add button (green plus sign).
Select ti.cloud and click OK .