Closed antongorodezkiy closed 6 years ago
you must triying comment properties of barcode. Example : var Barcode = require('ti.barcode'); /Barcode.allowRotation = true; Barcode.allowMenu = false; Barcode.allowInstructions = false;/ Barcode.capture({ animate: true, //overlay: overlay, /showCancel: true, showRectangle: false, keepOpen: false/ });
that's work well
Fixed in recent versions of the module. Closing.
Hello friends,
First of all thank you for the library, it's very useful. And I was happy with it until I tried to set
Barcode.allowInstructions = false;
. First time it works great, instructions are not showing and the scanner works as expected. But after second scan attempt the app crashes with the following error.Here is the stack trace (android):
Environment: OS Ubuntu 14.04 Titanium Studio, build: 3.4.1.201410281727 Titanium SDK 3.5.0.GA Ti.barcode 2.3.5 Tested on devices LG-D690 (android 4.4.2) and Samsung GT-S7562 (android 4.0.4).
Thank you in advance