Hi Alex,
unbelievable, but I've overlooked that these are static methods... I should
sleep at night instead of doing this stuff ;-)
Thanks,
Olaf
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/
IIRC, the cordova plugin creates a 'global' object
cordova.plugin.barcodeScanner and the JS code has to call:
cordova.plugin.barcodeScanner.xcan();
I think I could have just created a global function scan() in the package
cordova.plugin.barcodeScanner, but it was useful to have a all-static
Sing
Just for understanding:
Is there no need to instantiate a 'barcodeScanner' object here [1] cause
this class is marked as 'externs' (TypeDefs) and so it just calls some JS
functions?
Thanks,
Olaf
[1]
https://github.com/apache/royale-tourjs/blob/develop/cordova/BatchScanner/BatchScanner/src/main/fl
Hi Alex,
I just remember that you've already shared this "BatchScanner" article
sometimes ago ;-)
Thanks for not getting tired doing this!
Olaf
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/