Mobile Theme color problem in Android Webview

Posted in: Newspaper
Post count: 3

Hello
When I load my site in an android web view on android versions 16-21, there is a color problem, looking like the menu is opened(But It isn’t) and the text is invisible. It happens when a single post is clicked. Its not in the list and HomePage.
I disabled the Mobile theme, But the problem was still there.
Devices were, Lenovo Tablet with API 18 and Experia with api 16.
ScreenShots: Screenshots

Post count: 22421

Hello,
Please provide a link to your site so I can inspect this issue. Does it happen on all mobile devices or only on these particular models you are referring to?
Thank you!

Post count: 3

It happens on all devices of those android versions range.
Its not in the browser, Its inside the android Webview that we have integrated in our apps

Post count: 22421

Well I cannot provide any solution until you provide a link to your site so I can see the issue and inspect it in the browser console. A screenshot does not allow me to do that.
Thank you!

Post count: 3

DocumentaryBox.com

Post count: 22421

Hi,

I found a tablet with android 5.1.1 (pretty hard to find as all our devices are now with min andoroid 6.0)
But still, the error is not present. I cannot see it. The site seems to work ok. The screenshot you provided above shows a menu above the mobile header which does not seem to come from the theme.
Unfortunately we have not tested the webview of android. We only tested the themes on standard browsers. The webview strips the site of elements and javascript. The menus require js to run properly. he webview is not meant to display complex elements such as a premium wordpress theme:
Here is an official description from Android:

By default, a WebView provides no browser-like widgets, does not enable JavaScript and web page errors are ignored. If your goal is only to display some HTML as a part of your UI, this is probably fine; the user won’t need to interact with the web page beyond reading it, and the web page won’t need to interact with the user. If you actually want a full-blown web browser, then you probably want to invoke the Browser application with a URL Intent rather than show it with a WebView

Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.