Suppress PluginResult Output in Phonegap 2.0.0
-
26-06-2021 - |
Question
I am using Phonegap/Cordova 2.0.0 with the Contacts API. When I make a find request, I receive a massive success output to the terminal with all the found contacts, beginning with:
PluginResult:toJSONString - {"status":1,"message":[{"id":
This output ends up being hundreds of lines.
Is there a way to toggle console output for Phonegap APIs?
UPDATE
Per comment below, this will be fixed in the next Phonegap Release.
La solution
Shaz checked in code in 2.1 that will default to no logs but you can enable them again by calling setVerbose.
Autres conseils
Same problem here. Due to this bug, the console tries to show long data, and technically freezes the app.
Why phonegap/cordova doesn't have alpha/beta phase? Do we all have to be always beta testers?? Please try to release -stable- version for such as 2.0..