Launching a Server-initiated Hybrid App on the Device

Server-initiated Hybrid App messages are sent to the Hybrid Web Container that is installed on the device.

When you click the Hybrid Apps menu item in the Hybrid Web Container, only the latest version of the Hybrid Apps appear. When you click the icon for a particular Hybrid App, the Hybrid App version that is associated with the notification is launched, whether it is the latest version or not.

Example

You develop a Hybrid App that has both client-initiated and server-initiated starting points. You deploy the initial version, which is called version 1, and a notification is sent.

Next, make some changes and deploy a second version, version 2. Again, a notification is sent.

There are now three ways that this Hybrid App can be launched, and the way that it is launched determines which version of the Hybrid App is launched:

Related tasks
Testing Server-Initiated Hybrid App Packages
Debugging Custom Code