javascript 无法调用确定的可见性()从未见过 PID 的连接

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/30875099/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-28 12:51:51  来源:igfitidea点击:

Cannot Call determinedVisibility() never saw a connection for PID

javascriptandroidjquerycordovaibm-mobilefirst

提问by Julie Beck

We recently updated our mobile app from Worklight 5.0.6 to MobileFirst 7.0. Before the update, we didn't support 4.4 and above due to Cordova issues with the JSON Store. Now, we're supporting the newer versions of Android.

我们最近将我们的移动应用程序从 Worklight 5.0.6 更新到 MobileFirst 7.0。在更新之前,由于 JSON 存储的 Cordova 问题,我们不支持 4.4 及更高版本。现在,我们支持较新版本的 Android。

The application works great on all iOS devices and Android 4.x devices. On Android 5 and above, I'm experiencing a white screen on clicking our login button.

该应用程序适用于所有 iOS 设备和 Android 4.x 设备。在 Android 5 及更高版本上,我在单击登录按钮时遇到白屏。

$("#loginButton").on("click", function(e) {
    e.preventDefault();

    $('#realmPopupMenu').popup("open");
});

In the Android Log, I am seeing this error:

在 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

What is causing this error on Android 5 versions and above?

是什么导致 Android 5 及以上版本出现此错误?

采纳答案by Julie Beck

Updated to Jquery Mobile 1.4.5 and this fixed the white screen issue. The issue was with Jquery pop dialog and also mobile.changepage & mobile.navigate. Updating the version of Jquery Mobile to 1.4.5 fixed this.

更新到 Jquery Mobile 1.4.5 并修复了白屏问题。问题在于 Jquery 弹出对话框以及 mobile.changepage 和 mobile.navigate。将 Jquery Mobile 版本更新到 1.4.5 解决了这个问题。