I think it's a must-have feature, we would be able to better isolate and debug issues on native part.
Marking this as high priority because it also has performance implications and we don't need to print out this stuff out by default but could be useful for debugging.
This looks like it was only solved for iOS? Or am I mistaken?
@biesbjerg you might be right :-) I don't see any config option to hide logs in the Android code from capacitor.
It would be really good if there was a flag added for Android also. This is often an issue in enterprise builds because the security teams don't want the risk for any sensitive data being logged. (Which can happen easily, for example if you have a password store native plugin).
For now the only way seems to be to manually comment all the log statements.
Most helpful comment
It would be really good if there was a flag added for Android also. This is often an issue in enterprise builds because the security teams don't want the risk for any sensitive data being logged. (Which can happen easily, for example if you have a password store native plugin).
For now the only way seems to be to manually comment all the log statements.