Issue Description
Trying to load this url:
https://credodonations.com the url is not loaded and this error is showed:
[INFO] : I/TiWebChromeClient.console: (main) [885,885] Not allowed to load local resource: file:///android_asset/webkit/android-weberror.png (12:data:text/html,chromewebdata)
[ERROR] : chromium: [ERROR:buffer_manager.cc(313)] [.Parent-Compositor-0x9d95f390]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[INFO] : APSAnalyticsService: Analytics Service Started
[WARN] : APSAnalyticsService: Network unavailable, can't send analytics
[INFO] : APSAnalyticsService: Stopping Analytics Service
This is only happening on Android, iOS is working correctly
Steps to replicate:
Create a new default application project
Open app.js
Replace the code inside with this:
var webview = Titanium.UI.createWebView({url:'https://credodonations.com'});
var window = Titanium.UI.createWindow();
window.add(webview);
window.open({modal:true});
Run
Check out the *Android 4.4 and Later Support* section from here: http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.WebView-property-html I had a similar issue and after I added a *borderRadius* to the WebView the issue was gone. Hope this helps. Good luck!
Thanks [~eflorea] for the information!
Workaround:
As mentioned by [~three29] (Thank you!), the docs mention this issue:- {quote} By default, the Chromium WebView uses hardware acceleration, which may cause content to fail to render. If the WebView fails to render the content, the web view will clear itself, displaying only the default background color. {quote} The workaround is to set a borderRadius. [~rramirez] Resolving this issue as
Won't Fix
as work around is available and it has been documented.Sorry Guys but the workaround is not working for me, i'm getting this error trying on an Android Samsung Galaxy Ace 4.4.4 [ERROR] : TiWVC: (main) [1448,1448] SSL error occurred: primary error: 3 certificate: Issued to: CN=*.credodonations.com,OU=COMODO SSL Wildcard,OU=Domain Control Validated; [ERROR] : TiWVC: Issued by: CN=COMODO RSA Domain Validation Secure Server CA,O=COMODO CA Limited,L=Salford,ST=Greater Manchester,C=GB; [ERROR] : TiWVC: on URL: https://credodonations.com/
[~msamah] there is an SSL error on the webview, EDITED workaround:
Thanks for that. So in this case, it seems the website is the issue and a flag is needed. Leaving ticket as Resolved.
Closing ticket as Won't Fix with reference to the above comments.