Webview does not show content on some devices

1

Good morning, I would like to ask for a bit of help regarding an issue that I have in an app that implements a WebView and in some devices perfectly loads the web app and in others it does not, this is presented mostly try to show some images, as I mention, it is only in some devices where it does not show the images and in others if it shows them.

I have implemented this code for WebView

webView = (WebView) findViewById(R.id.WebDemo);
        webView.getSettings().setJavaScriptEnabled(true);
        webView.getSettings().setAppCacheEnabled(true);
        webView.loadUrl("https://demoapp.com");
        swipe.setRefreshing(true);

        webView.setWebChromeClient(new WebChromeClient());

I clarify that in mobile browsers if the images are shown, in some cases they are shown in Chrome Android, in other cases not, but in other browsers, but not in the app.

    
asked by SpartanDark 30.11.2018 в 17:59
source

0 answers