fix(barcode): iniBarcodeReader (#2145)
This commit is contained in:
parent
4ea35e33bb
commit
e46b8573f8
@ -298,7 +298,7 @@ public class RNCameraView extends CameraView implements LifecycleEventListener,
|
||||
for (String code : mBarCodeTypes) {
|
||||
String formatString = (String) CameraModule.VALID_BARCODE_TYPES.get(code);
|
||||
if (formatString != null) {
|
||||
decodeFormats.add(BarcodeFormat.valueOf(code));
|
||||
decodeFormats.add(BarcodeFormat.valueOf(formatString));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user