Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

iOS: datamatrix scan result truncated when code contains null characters #870

Open
Kai-vE opened this issue May 6, 2020 · 1 comment
Open

Comments

@Kai-vE
Copy link

Kai-vE commented May 6, 2020

Expected Behaviour

result.text should deliver complete datamatrix code

Actual Behaviour

result.text is truncated by null characters in datamatrix code

Platform and Version (eg. Android 5.0 or iOS 9.2.1)

iOS 13.4.1

Plugin version

phonegap-plugin-barcodescanner 8.0.1 "BarcodeScanner"

@Kai-vE
Copy link
Author

Kai-vE commented May 14, 2020

What I found out: iOS built in scanner decoder cannot handle datamatrix with binary data.
Solved this for me by decoding the raw bytes in case of datamatrix using ZXing modules.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant