update version of react-native-vision-camera
Feel free to take this or leave this...
The example wasn't able to run until I updated the version of react-native-vision-camera.
The install on yarn grabbed 2.9.4, which had the __scanCodes is undefined error. Maybe this was because of the yarn.lockfile in /example, not sure. Once I manually changed this version number in package.json, cleared cache and restarted the project the scanner worked properly.
This seems to be the fix for https://github.com/rodgomesc/vision-camera-code-scanner/issues/115 if possible let's merge this
Hi I'm still getting the __scanCodes error: https://github.com/rodgomesc/vision-camera-code-scanner/issues/121#issue-1518915635
Do you find a solution? Thank you
I'm also running into the _scanCodes error, could this branch be merged?
If you're looking for a solution, I suggest you expo-barcode-scanner, otherwise I can't fix the problem of this library.
Hello, I have the same error with version 2.15.2, even after:
...
plugins: [
[
"react-native-reanimated/plugin", { globals: ["__scanCodes"] }
],
]
as propose in #929
add one more parenthesis, even now it throws cannot read property 'useScanBarcodes' of undefined