I am trying to scan a QR-code that contains purely binary data.
When it is scanned, the rawData field is filled with data that I don't recognize. (I obviously know what data to expect, I generated the binary QR code image).
At first I thought the rawData field might be base64-encoded, so I decoded it but the result I got still wasn't what I expected to see.
How can I scan & interpret rawData from a QR code?
I feel like the docs don't properly explain what the output of rawData is or how to use it.
I am using version 1.5.4 of react-native-qrcode-scanner
I am trying to scan a QR-code that contains purely binary data. When it is scanned, the
rawData
field is filled with data that I don't recognize. (I obviously know what data to expect, I generated the binary QR code image). At first I thought therawData
field might be base64-encoded, so I decoded it but the result I got still wasn't what I expected to see.How can I scan & interpret rawData from a QR code?
I feel like the docs don't properly explain what the output of
rawData
is or how to use it.I am using version 1.5.4 of react-native-qrcode-scanner