【发布时间】:2017-12-07 13:20:40
【问题描述】:
项目详情:
应用程序框架 - Ionic V3.0
IBM MobileFirst 服务器(devKit) - 产品版本:8.0.0.00-20170911-123510
-
Application Mobilefirst 版本 - config.xml -
mfp:platformVersion -8.0.0.00-20170218-003050
插件名称="cordova-plugin-mfp" spec="8.0.2017021815"
它在安卓中运行良好。但在 IOS 中,软更新完成后,应用程序屏幕变为空白(黑屏)。杀死并重新启动应用程序后,它开始正常工作。
我在 mobilefirst 8 应用程序中实现了Direct update 功能,如下所示:
// Direct Update - Used to trigger a request to the MobileFirst Server, to check for updated web resources.
WLAuthorizationManager.obtainAccessToken()
.then(
function () {
console.log("*** Obtained token successfully.");
},
function () {
console.log("*** Failed obtaining token.");
}
);
【问题讨论】:
-
你能试试用最新版本的
cordova-plugin-mfp插件构建你的应用吗?
标签: ibm-mobilefirst direct-update