phonegap/phonegap-plugins — Issue #234: ios BarcodeScanner: extraneous message logging
Author: pmuellr
Created: 2011-11-15 15:05:49+00:00
State: open

Reported on the ml:

> I created a blank PhoneGap 1.1.0 project and added the BarcodeScanner
> plugin to it. When I install & run on my 3GS, I get the following
> output in the console right after calling
> navigator.notification.alert:

> 2011-11-14 17:12:36.000 BarcodeScanner[1427:707] PluginResult:toJSONString - {"status":1,"message": 1,"keepCallback":false}
> 2011-11-14 17:12:36.007 BarcodeScanner[1427:707] PluginResulttoSuccessCallbackString: PhoneGap.callbackSuccess('INVALID',{"status":1,"message":1,"keepCallback":false});

This looks like some diagnostic code used during development was left in the code. Should be removed or hidden in a debug flag.