Skip to content

Commit

Permalink
feat: translate UPC-A to EAN-13
Browse files Browse the repository at this point in the history
  • Loading branch information
diogoqueiros committed Jan 29, 2020
1 parent 2d140da commit d233da7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/android/Aidc.java
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit d233da7

Please sign in to comment.