breautek commented on pull request #950: URL: https://github.com/apache/cordova-android/pull/950#issuecomment-700023195
> After upgrade to cordova android 9.0.0 I'm unable to see any logs from `console.log`. Isn't this related to this fix? Upgrading cordova was the only thing that I have done and now I must use alert() for debugging ._. > > Tested on Android 10, Xiaomi MI 10 SE. `return super.onConsoleMessage(consoleMessage);` would have produced console log messages similar to what Cordova did in the override. But it may be in a different format and definitely under a different log tag. > now I must use alert() for debugging ._. Using logcat is mainly used for native debugging. Debugging cordova apps you should use the web inspector tools provided by Chrome (for android), or Safari for ios apps. See [Remote Debugging webviews](https://developers.google.com/web/tools/chrome-devtools/remote-debugging/webviews) for more information how to do this for the Chrome webview. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
