Chrome Apps Cordova webview shows a blank page -
it's quite weird situation in. i've found out chrome apps ability, can port them automatically ios, android , windows. have problem, i've been writing application in javascript base , tested chrome editor, worked fine in windows mode.
i've been struggling on porting android , when worked, webview empty. after 2 hours of trying, googling , messing around decided give , take sample , work there. samples aren't giving me webview.
the webview stays empty, can see keep getting 4 errors not related script ( sychronous xmlhttprequest, failed load css , lost .html file chrome-extension ).
debugging app; text shows up, webview stays blank. ever had same problem?
the entire file contains following code;
<!doctype html> <html> <head> <meta charset="utf-8"> <title>webview sample</title> <link href="index.css" rel="stylesheet"> </head> <body> <webview id="wv2" style="width:250px; height:200px;" src="http://google.com/"></webview> test </body> </html> another thing caught eye following 2 messages while deploying application cca command line;
permission not recognized cca: pointerlock (ignoring) permission not recognized cca: webview (ignoring)
after digging found out webview tag not supported on mobile devices chrome apps. webview tag tag created cordova , not work on mobile devices. therefore should consider using iframe instead.

Comments
Post a Comment