Impossible to call definVisibility () - never seen a connection for pid. Do not go to the Html page.

Below is my code to open the home.html page upon successful login to the Android application. But when I click on the login button, it loads the same index.html page (it doesn't open home.html).

function check(form)  {
    //the following code checkes whether the entered userid and password are matching
    if(form.password.value == "moleac123") {
        if(form.remember_me.checked) {
            window.localStorage["password_remember"] = "moleac123";
            var date_to_remember = new Date().getTime();
            window.localStorage["date_remember"] = date_to_remember.toString();
        }
        $.mobile.pageLoadErrorMessage = "";
       // window.open('home.html'); //opens the target page while Id & password matches
       window.location="home.html";
    }
    else {
        alert("Invalid Password"); //displays error message
        $.mobile.pageLoadErrorMessage = "";
       // window.open('index.html');
        window.location="index.html";
    }
  }

I got an error below my logarithm. (Please note that my version for mobile phones is 1.3.2, and I tried to upgrade to 1.4.5, however the same problem)

Error:

D/JsMessageQueue﹕ Set native->JS mode to null D/CordovaWebViewImpl﹕ onPageDidNavigate(file:///android_asset/www/home.html)

W/BindingManager﹕ Cannot call determinedVisibility() - never saw a connection for the pid: 20994

D/CordovaWebViewImpl﹕ onPageFinished(file:///android_asset/www/home.html)

W/BindingManager﹕ Cannot call determinedVisibility() - never saw a connection for the pid: 20994

W/BindingManager﹕ Cannot call determinedVisibility() - never saw a connection for the pid: 20994

Note. This works fine in Android 4.1.X version, this problem occurs in Android5.0.

I ask for advice on how I can fix this.

+4
source share
1 answer

? logcat - BindingManager﹕ Cannot call determinedVisibility(), , , ?

-2

Source: https://habr.com/ru/post/1599449/


All Articles