Jul*_*eck 8 javascript jquery android cordova ibm-mobilefirst
我们最近将我们的移动应用从Worklight 5.0.6更新为MobileFirst 7.0.在更新之前,由于Cordova与JSON Store的问题,我们不支持4.4及更高版本.现在,我们正在支持更新版本的Android.
该应用程序适用于所有iOS设备和Android 4.x设备.在Android 5及更高版本上,我点击登录按钮时遇到白屏.
$("#loginButton").on("click", function(e) {
e.preventDefault();
$('#realmPopupMenu').popup("open");
});
Run Code Online (Sandbox Code Playgroud)
在Android日志中,我看到了这个错误:
06-18 07:34:57.329: W/AmazonAppstore.AppManagerAndroidPackageDelegate(2325): Unable to determine asin for package com.MyGPCMobile. Skipping metadata update.
06-18 07:34:58.709: W/AmazonAppstore.AppManagerAndroidPackageDelegate(2325): Unable to determine asin for package com.MyGPCMobile. Skipping metadata update.
06-18 07:35:02.129: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501
06-18 07:35:02.529: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501
06-18 07:35:03.469: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501
06-18 07:35:10.879: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501
06-18 07:35:11.769: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501
06-18 07:35:30.579: D/DMCFaceEngine(919): caSmartDP_DetermineFixedDevice : TmpFile exists /data/smart_stay_hash.dmc
06-18 07:35:30.579: D/DMCFaceEngine(919): caSmartDP_DetermineFixedDevice : FIXED OR NOT : difference 300.376667
06-18 07:35:30.579: D/DMCFaceEngine(919): caSmartDP_DetermineFixedDevice : TmpFile making start /data/smart_stay_hash.dmc
06-18 07:35:30.589: D/DMCFaceEngine(919): caSmartDP_DetermineFixedDevice : TmpFile making end /data/smart_stay_hash.dmc
06-18 07:35:30.589: D/DMCFaceEngine(919): caSmartDP_SmartStay : [5.000000] determine[300] result [-1]
06-18 07:35:35.919: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501
06-18 07:35:35.929: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501
06-18 07:35:38.739: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501
06-18 07:35:39.689: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501
06-18 07:35:39.699: W/BindingManager(2501): Cannot call determinedVisibility() - never saw a connection for the pid: 2501
Run Code Online (Sandbox Code Playgroud)
在Android 5及更高版本上导致此错误的原因是什么?
更新至 Jquery Mobile 1.4.5,修复了白屏问题。问题出在 Jquery 弹出对话框以及 mobile.changepage 和 mobile.navigate 上。将 Jquery Mobile 版本更新到 1.4.5 修复了此问题。
| 归档时间: |
|
| 查看次数: |
17094 次 |
| 最近记录: |