You can try to ignore it in the XWalkCordovaResourceClient.java
@Override
public void onReceivedLoadError(XWalkView view, int errorCode, String
description,
String failingUrl) {
LOG.d(TAG, "CordovaWebViewClient.onReceivedError: Error code=%s
Description=%s URL=%s", errorCode, description, failingUrl);
If (errorCode != ERROR_AUTHENTICATION) {
parentEngine.client.onReceivedError(errorCode, description,
failingUrl);
}
}
Thanks,
Junwei.
From: Crosswalk-help
[mailto:[email protected]] On Behalf Of Daní
Pinart
Sent: Friday, November 06, 2015 3:45 PM
To: [email protected]
Subject: [Crosswalk-help] Avoiding built-in login screen
Hi I'm using Crosswalk-Webview in an android phonegap project. The app has a
login screen that appears each time a 401 response is received from the server.
Since I added thre crosswalk-webview plugin a "built-in" login form dialog pops
up when receiving a 401 response. How can I configure webview in order to do
not handle 401 responses?
Thanks
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help