We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
BarcodeScanning.m
[result addObject:@{ @"value": barcode.displayValue, @"format": format, @"rawValue": barcode.rawValue }];
BarcodeScanningModule.java
public void onSuccess(List<Barcode> barcodes) { WritableArray result = Arguments.createArray(); for (Barcode barcode : barcodes) { WritableMap map = Arguments.createMap(); map.putString("value", barcode.getDisplayValue()); map.putDouble("format", barcode.getFormat()); map.putString("rawValue", barcode.getRawValue()); result.pushMap(map); } promise.resolve(result); }
TS
export interface Barcode { format: BarcodeFormat; value: string; rawValue: string; }
Could you please add a getRawValue. Thanks
@react-native-ml-kit/barcode-scanning: version@react-native-ml-kit/face-detection: version@react-native-ml-kit/identify-languages: version@react-native-ml-kit/image-labeling: version@react-native-ml-kit/text-recognition: version@react-native-ml-kit/translate-text: version
Check prev message
The text was updated successfully, but these errors were encountered:
Hello @Iuriy-Budnikov, thanks for reporting this issue and sorry that it took me that long to check it.
It seems like you already have a solution in mind which is great, can you please open a PR for it?
Sorry, something went wrong.
a7medev
No branches or pull requests
What happened?
BarcodeScanning.m
BarcodeScanningModule.java
TS
Could you please add a getRawValue.
Thanks
Version
@react-native-ml-kit/barcode-scanning: version@react-native-ml-kit/face-detection: version@react-native-ml-kit/identify-languages: version@react-native-ml-kit/image-labeling: version@react-native-ml-kit/text-recognition: version@react-native-ml-kit/translate-text: version
Which ML Kit packages do you use?
What platforms are you seeing this issue on?
System Information
Check prev message
Steps to Reproduce
Check prev message
The text was updated successfully, but these errors were encountered: