Webview support for older Android devices


#1

Could I kindly request that the older (non updateable) webview library in older Android releases, such as 4.4.1, be supported ? I like to run Dashboards on older tablets and right now they're a mess. Actiontiles and sharptools look great, but from what I've seen in their forums they had to implement some workaround to get it to work well.


#2

Are you still working on this?

The key to getting the Hubitat dashboards to work in webview is enabling javascript "webView.getSettings().setJavaScriptEnabled(true);" which is all API level 1.

The only problem you might run into is that even with javascript enabled webview blocks popup messages, which Hubitat uses to operate locks. It may use them for other devices that I don't yet have. The way around that is to add "webView.setWebChromeClient(new WebChromeClient());" which is also API level 1.