corona icon indicating copy to clipboard operation
corona copied to clipboard

Feature request: Webview console output event

Open Be1zebub opened this issue 1 year ago • 2 comments

I would like to be able to read the webview console, for tracking js errors and debugging information. something like: webView:addEventListener("console", cback)

Be1zebub avatar Sep 22 '23 13:09 Be1zebub

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

solares avatar Sep 26 '23 02:09 solares

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.

Be1zebub avatar Sep 27 '23 13:09 Be1zebub