简体   繁体   English

在Worklight Console上禁用较旧版本的应用程序时,无法从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. 我有一个客户正在使用Worklight V61版本以及IBM Application Center来分发B2E应用程序,以供内部员工使用和消费。 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 现在的要求是,当有新版本的Worklight应用程序可用时,需要在Worklight Console上禁用该应用程序的旧版本,并且需要通过IBM AppCenter客户端获取新版本。

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. 因此,根据可用功能,客户已在Worklight Console上远程禁用了较旧的应用程序版本,现在需要在文本字段中提供一个外部URL,从该URL可以从AppCenter客户端下载新的应用程序版本。 At the same time, the new APK version of the Worklight app has been published to the Application Center console. 同时,新的APK版本的Worklight应用程序已发布到Application Center控制台。

He is trying to use the notation of the app URL as 他正尝试将应用网址的符号用作

ibmappctr://show-app?id=com.RBLBankApp 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. ibmappctr已替换为运行Application Center组件的机器的实际IP地址/主机名。

Note that the Worklight Server and the IBM Application Center Server have been deployed on separate WAS JVM servers 请注意,Worklight Server和IBM Application Center Server已部署在单独的WAS JVM服务器上

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 ?? 有人可以建议应用URL是什么,以便从AppCenter客户端获取需要放在Worklight Console字段中的最新版本吗?

Note: this feature is supported starting Worklight 6.2, where the externalURL property was added (see "Application properties" link). 注意:从添加了externalURL属性的 Worklight 6.2开始支持此功能(请参阅“应用程序属性”链接)。


If you are actually using Worklight 6.2 (rather the 6.1 mentioned in the question), then 如果您实际上正在使用Worklight 6.2(而不是问题中提到的6.1),则
You wrote: 你写了:

ibmappctr has been substituted with the actual IP Address / Hostname of the machine running the Application Center component. ibmappctr已替换为运行Application Center组件的机器的实际IP地址/主机名。

Do you mean you've actually replaced ibmappctr with the host/IP? 您是说实际上已经用主机/ IP替换了ibmappctr吗?

  • You are not supposed to alter the URL scheme other than the id of the application (the documentation has been enhanced in this regard for the next release). 除了应用程序的ID外,您不应更改URL方案(在下一个发行版方面,文档已得到增强)。

  • You need to use the following as-is: ibmappctr://show-app?id=com.my-app-bundle . 您需要按以下原样使用: ibmappctr://show-app?id=com.my-app-bundle This in turn should open the installed AppCenter Installer application via which the new application version could be downloaded. 反过来,这将打开已安装的AppCenter Installer应用程序,通过该应用程序可以下载新的应用程序版本。


If you are actually using Worklight 6.1, then the alternatives are to: 如果您实际使用的是Worklight 6.1,则可以选择:

  • Only notify the employees via the Remote Disable message that a new version is available and that they should open the AppCenter Installer application in order to install it. 仅通过“远程禁用”消息通知员工可用的新版本,并且他们应该打开AppCenter Installer应用程序以进行安装。

  • Direct them to some "instructions page" on the company's website using the "New Version" button. 使用“新版本”按钮将其定向到公司网站上的“说明页面”。

  • Create a customized Remote Disable behavior to display an "instructions page" that is "built-in" the application (can be introduced first using a Direct Update if the application is already deployed in the field). 创建自定义的“远程禁用”行为,以显示应用程序“内置”的“说明页面”(如果已在现场部署该应用程序,则可以首先使用直接更新引入该页面)。

Depends how much effort you want to put into it. 取决于您要付出多少努力。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM