Ibm mobilefirst 直接更新后IBM mobileFirst IOS应用程序屏幕断电
项目详情:Ibm mobilefirst 直接更新后IBM mobileFirst IOS应用程序屏幕断电,ibm-mobilefirst,direct-update,Ibm Mobilefirst,Direct Update,项目详情: 应用程序框架-Ionic V3.0 IBM MobileFirst服务器(devKit)-产品版本:8.0.0.00-20170911-123510 应用程序Mobilefirst版本- config.xml- mfp:平台版本-8.0.0.00-20170218-003050 plugin name=“cordova plugin mfp”spec=“8.0.2017021815” 它在安卓系统中运行良好。但在IOS中,完成软更新后,应用程序屏幕变为空白(黑屏)。在终止并重新启
- 应用程序框架-Ionic V3.0
- IBM MobileFirst服务器(devKit)-产品版本:8.0.0.00-20170911-123510
- 应用程序Mobilefirst版本- config.xml- mfp:平台版本-8.0.0.00-20170218-003050 plugin name=“cordova plugin mfp”spec=“8.0.2017021815”
直接更新
功能,如下所示:
// 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.");
}
);
参考资料:这可能与爱奥尼亚现在默认使用WKWebView有关。看 众所周知,MobileFirst在WKWebview上直接更新存在局限性。看
如上链接所述,使用wkwebview引擎localhost插件确保直接更新继续工作 它已在最新的IBM MobileFirst版本中修复。建议作为解决方案的cordova插件未安装。这导致了问题。您能否试用使用最新版本的
cordova plugin mfp
plugin构建的应用程序?