Automatically Launching a Hybrid Web Application

This customization allows you to automatically launch a Workflow application if one exists.

If there are applications on the device, it loads the first one. It also toggles a flag, so it does not automatically open the application again until the Hybrid Web Container restarts.

Note: If you combine this customization with the Changing to a New UI Control customization, you will need to replace the logic in SingleWorkflowTableView.m to implement your own auto-launching behavior.
Note: If you combine this customization with the PIN screen removal customization, this interferes with the auto-launching on iPad devices because the auto-launch on iPad relies on events that are generated by the submission of PIN credentials.
  1. In the Xcode Project Navigator, open CustomizationHelper.m, which is located in the WorkFlow\Classes group folder.
  2. Locate the customization tag that accompanies the function autoLaunchHybridApp, and override this function to return YES.
  3. Save the file.
  4. Rebuild the project.