diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/android/Aidc.java b/src/android/Aidc.java index bbc27ae..828c159 100644 --- a/src/android/Aidc.java +++ b/src/android/Aidc.java @@ -92,6 +92,7 @@ public boolean execute(String action, JSONArray args, final CallbackContext call barcodeReader.setProperty(BarcodeReader.PROPERTY_EAN_8_CHECK_DIGIT_TRANSMIT_ENABLED, true); barcodeReader.setProperty(BarcodeReader.PROPERTY_EAN_13_ENABLED, true); barcodeReader.setProperty(BarcodeReader.PROPERTY_EAN_13_CHECK_DIGIT_TRANSMIT_ENABLED, true); + barcodeReader.setProperty(BarcodeReader.PROPERTY_UPC_A_TRANSLATE_EAN13, true); } catch (UnsupportedPropertyException e) { callbackContext.error(e.getMessage()); }