I have a Webview in which i am trying to load this url
But the webview is blank, i have added internet permission in manifest, tried to load google.com in the same webview and it loads fine.
Tried loading same url in phone browser(chrome) and it loads fine
This is my code :
@SuppressLint("SetJavaScriptEnabled")
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
mWebView = (WebView) findViewById(R.id.webviewmain);
mWebView.setWebViewClient(new WebClient());
mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.loadUrl(url);
}
private class WebClient extends WebViewClient {
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
view.loadUrl(url);
return true;
}
@Override
public void onPageFinished(WebView view, String url) {
}
}
Logcat:
I/chromium: [INFO:CONSOLE(1)] "Angular is running in the development mode. Call enableProdMode() to enable the production mode.", source: https://www.xfinityprepaid.net/CustomerActivation/vendor.23a90aa3d57e711f4e5c.bundle.js (1)
I/chromium: [INFO:CONSOLE(1)] "ERROR", source: https://www.xfinityprepaid.net/CustomerActivation/vendor.23a90aa3d57e711f4e5c.bundle.js (1)file:external/boringssl/src/crypto/asn1/asn1_lib.c ;Line:186;Function:ASN1_get_object
D/libc-netbsd: getaddrinfo: adservice.google.co.in get result from proxy gai_error = 0
D/libc-netbsd: getaddrinfo: match.adsrvr.org get result from proxy gai_error = 0
D/OpenSSLLib: OpensslErr:Module:12(116:176); file:external/boringssl/src/crypto/asn1/asn1_lib.c ;Line:186;Function:ASN1_get_object
D/OpenSSLLib: OpensslErr:Module:12(116:176); file:external/boringssl/src/crypto/asn1/asn1_lib.c ;Line:186;Function:ASN1_get_object
D/libc-netbsd: getaddrinfo: www.facebook.com get result from proxy gai_error = 0
D/OpenSSLLib: OpensslErr:Module:12(116:176); file:external/boringssl/src/crypto/asn1/asn1_lib.c ;Line:186;Function:ASN1_get_object
D/OpenSSLLib: OpensslErr:Module:12(116:176); file:external/boringssl/src/crypto/asn1/asn1_lib.c ;Line:186;Function:ASN1_get_object
D/libc-netbsd: [getaddrinfo]: mtk hostname=www.xfinityprepaid.net; servname=(null); netid=0; mark=0
any solution for this problem?