ibm-mobilefirstworklight-appcenter

Unable to get the latest app version from the AppCenter client when the older version is disabled on Worklight Console


I have a customer who is using the Worklight V61 version as well as the IBM Application Center to distribute a B2E app for internal employee usage and consumption. Now the requirement is that when a new version of the Worklight app is available, the older version of the app needs to be disabled on the Worklight Console and the new version needs to be fetched through the IBM AppCenter client

So as per the available capabilities, the customer has remotely disabled the older app version on the Worklight Console and now needs to provide an external URL in the text field from where the new app version can be downloaded from the AppCenter client. At the same time, the new APK version of the Worklight app has been published to the Application Center console.

He is trying to use the notation of the app URL as

ibmappctr://show-app?id=com.RBLBankApp

where

ibmappctr has been substituted with the actual IP Address / Hostname of the machine running the Application Center component.

Note that the Worklight Server and the IBM Application Center Server have been deployed on separate WAS JVM servers

When the disabled pop-up dialog box is shown on the device when the older app version is accessed, the user clicks the 'Update button but nothing happens

Can someone please advise on what should be the app URL to get the latest version from the AppCenter client that needs to be put on the Worklight Console field ??


Solution

  • Note: this feature is supported starting Worklight 6.2, where the externalURL property was added (see "Application properties" link).


    If you are actually using Worklight 6.2 (rather the 6.1 mentioned in the question), then
    You wrote:

    ibmappctr has been substituted with the actual IP Address / Hostname of the machine running the Application Center component.

    Do you mean you've actually replaced ibmappctr with the host/IP?


    If you are actually using Worklight 6.1, then the alternatives are to:

    Depends how much effort you want to put into it.