Sybase Unwired Platform provides support for Apple Push Notification Service by pushing notifications to Mobile Workflow applications when the Mobile Workflow application is offline.
With APNS, each device establishes encrypted IP connections to the service and receives notifications about availability of new items awaiting retrieval on Unwired Server. This feature overcomes network issues with always-on connectivity and battery life consumption on 3G networks.
For more information on end-to-end iPhone application development and provisioning, see System Administration for Sybase Unwired Platform > System Administration > Device Provisioning > Apple Provisioning for iOS.
Examples of cases when notifications are sent include:
By default, APNs is enabled in the included source code only when it is built in in Xcode release mode. Alternatively, in WorkflowAppDelegate.m, move the line [SUPPush supSetupForPush:[UIApplication sharedApplication]]; after the #endif statement as shown.
#if !defined( _DEBUG ) // APNS Push is not supported in Debug mode as it uses different gateway #endif */ [SUPPush supSetupForPush:[UIApplication sharedApplication]];
After creating the .p12 certificate, you must configure the APNs settings in Sybase Control Center.