Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(android): show GS1 symbology #98

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion android/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# this is your module manifest and used by Titanium
# during compilation, packaging, distribution, etc.
#
version: 4.0.2
version: 4.0.3
apiversion: 4
architectures: arm64-v8a armeabi-v7a x86
description: Lets you process 1D/2D barcodes.
Expand Down
1 change: 1 addition & 0 deletions android/src/ti/barcode/BarcodeModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ private Hashtable<DecodeHintType, Object> populateHints(HashMap args) {
}
}
hints.put(DecodeHintType.POSSIBLE_FORMATS, decodeFormats);
hints.put(DecodeHintType.ASSUME_GS1, null);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@garymathews I guess, it will always show Symbology Identifier. What if developer do not want to use it? Can we expose it to developer as property?

return hints;
}

Expand Down