bug: Remove all the console messages
See original GitHub issueHi,
Please remove all the console messages on Capacitor plugins. Because it’ll directly effect to degrade the performance of native apps. And also security risk too. i.e. can see the table names and etc. Thanks!
I use this plugin: https://github.com/capacitor-community/sqlite
The author of that plugin has mentioned like so:
this is the messages coming from capacitor itself nothing to do with the plugin
Please refer here for more info: https://github.com/capacitor-community/sqlite/issues/236
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Hide all console logs in production with just 3 lines of code
log = function () {}; I am using this on my live app to hides the console. If someone know any other method...
Read more >Javascript Console Clear disables all console logs instead of ...
console.clear();. So I get a clean console before the project starts. Strangely, any logs that follow console.clear aren't ...
Read more >The drop_console option should remove all console methods ...
I was trying to resolve #2321 and found the bug. my plan as follow: 1、loop the ExprOrSuper , Until it matches (Expr::Ident(obj), Expr::Ident ......
Read more >Ways to Remove Those Pesky console.log Statements
1: Manual Removal. The lowest tech solution is to go through your code-base and manually remove all instances of console statements. This ...
Read more >Remove all console.log() from your project in less than a minute
Remove all console.log() from your project in less than a minute · Step 1. Open your project in VS Code ( Since we...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Console is not a plugin, so was removed from the plugins section. The configuration is documented on the configuration docs https://capacitorjs.com/docs/config deprecated means that there is a better way and you should use the new but, but it keeps working for now. It will be removed in the future.
For Capacitor 3 you should use
loggingBehavior
set tonone
,hideLogs
is deprecated in Capacitor 3. That link you provided is for Capacitor 2.