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.
Note: APNS cannot be used on a simulator.
Examples of cases when notifications are sent include:
- The server identifies that a new message needs to be sent to the
device. This could include:
- A new Mobile Workflow is assigned to the device.
- A Mobile Workflow DCN message is sent to Unwired Server,
targeting a particular user and the Mobile Workflow is not running.
If you want to use APNs for the Mobile Workflow application, you
can:
- Use the
.p12
located in
<Unwired_Platform_InstallDir>\UnwiredPlatform\Servers\MessagingServer\bin\
with the pre-built Workflow application that is available from the App
Store.
These .p12 certificates are provided:
- MobileWorkflowPushDistCert.p12 – for Sybase Mobile Workflow – Free,
2.0, or 2.0.1
- MobileWorkflow21PushDistCert.p12 – for Sybase Mobile Workflow 2.1
- MobileWorkflow212PushDistCert.p12 – for Sybase Mobile Workflow
2.1.2
- Use the Apple Provisioning Portal to create your own .p12
certificate if you build your own Mobile Workflow application using the source
code included in
<UnwiredPlatform_InstallDir>\UnwiredPlatform\MobileSDK\HybridWeb\iOS.
After creating the .p12 certificate, you must configure the APNs settings
in Sybase Control Center.