I am attempting to load a web page into a webview. I have tested this with numerous websites for which it works just fine. Except this particular mobile website for credit card company Capital One. I would like to find out why loading the following url in my webview results in a blank page.
**Edit: NOTE1: I am able to load this web page successfully in the native browser. Note2: I am able to display other SSL sites in my webview successfully.
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment_totals, container, false);
CookieHandler.setDefault(new CookieManager(null, CookiePolicy.ACCEPT_ALL));
mWebView2 = (WebView)view.findViewById(R.id.webView2);
mWebView2.getSettings().setJavaScriptEnabled(true);
mWebView2.getSettings().setPluginState(WebSettings.PluginState.ON);
mWebView2.setWebViewClient(new WebViewClient());
mWebView2.loadUrl("https://moblprod.capitalone.com/worklight/apps/services/www/EnterpriseMobileBanking/mobilewebapp/default/EnterpriseMobileBanking.html#www/cards/login?redirect=www/cards/accounts");
return view;
}