项目详情:
它在android上运行得很好。但在IOS系统中,软件更新完成后,应用程序屏幕变成空白(黑色屏幕)。在杀死并重新启动应用程序之后,它就可以正常工作了。
我已经在移动前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.");
}
);
发布于 2017-12-11 11:11:24
它在最新的IBM MobileFirst版本中得到了修正。
发布于 2017-12-07 14:40:48
这可能与Ionic现在默认使用WKWebView的事实有关。请参阅https://ionicframework.com/docs/wkwebview/
这是MobileFirst在WKWebview上直接更新的一个已知限制。请参阅https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/product-overview/release-notes/known-issues-limitations/#wkwebview-support-for-ios-cordova-applications
如上述链接所述,使用wkwebview-engine-localhost插件确保直接更新继续工作。
https://stackoverflow.com/questions/47696083
复制相似问题