corona
corona copied to clipboard
Feature request: Webview console output event
I would like to be able to read the webview console, for tracking js errors and debugging information.
something like: webView:addEventListener("console", cback)
We got it by adding console output after the # in the url, then the app gets advised of a URL change and you can grab the console output:
eg http://yourpage.html?console=blahblahblah
We got it by adding console output after the # in the url, then the app gets advised of a URL change and you can grab the console output:
eg http://yourpage.html?console=blahblahblah
I know, i can send messages between webview/lua with this hack - a good thing, but its dont related to this issue - send messages between relams is not a goal.