Ti.ui.webview On Android: Webpage Is Not Being Displayed
I am using a WebView in my app. This WebView must display an external webpage. It works fine on iOS, but on Android I get a white screen. In the console I see this warning: W/cr.Bi
Solution 1:
We have solved the problem for
BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid
and for
libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY)
by using the following WebView for android: http://gitt.io/component/de.marcelpociot.webviewfragment , which contains fixes for : https://jira.appcelerator.org/browse/TIDOC-1548
Solution 2:
Try adding borderRadius: 1 to the Webview properties
var webview = Ti.UI.createWebView({url: '..', borderRadius: 1});
This disabled the hardware acceleration of the webview..
See the docs for more information: http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.WebView
Post a Comment for "Ti.ui.webview On Android: Webpage Is Not Being Displayed"