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.
1 parent e3ec579 commit 2192b62Copy full SHA for 2192b62
src/index.tsx
@@ -1,5 +1,5 @@
1
import { NativeModules, Platform } from 'react-native';
2
-import {VisionCameraProxy, Frame} from 'react-native-vision-camera';
+import {VisionCameraProxy, type Frame} from 'react-native-vision-camera';
3
4
const LINKING_ERROR =
5
`The package 'vision-camera-dynamsoft-barcode-reader' doesn't seem to be linked. Make sure: \n\n` +
@@ -19,7 +19,7 @@ const VisionCameraDynamsoftBarcodeReader = NativeModules.VisionCameraDynamsoftBa
19
);
20
21
22
-const plugin = VisionCameraProxy.initFrameProcessorPlugin('decode')
+const plugin = VisionCameraProxy.initFrameProcessorPlugin('decode',{})
23
24
/**
25
* Detect barcodes from the camera preview
0 commit comments