-
Notifications
You must be signed in to change notification settings - Fork 221
App crashes when i use this library without warning or error #141
Comments
Same Problem |
I am having the same problem, also react-native version "0.70.6" |
Same, but only on Android. iOS works for me |
Maybe merge this? #138 |
any update for this issue? |
after further debugging almost for a week,I got this solved by either upgrading the react-native-reanimated version or added config in |
Can you share your |
@luatvudinh I was using react-native-reanimated version
you need to see what is the error first by debugging or displaying ADB log |
Fixed for us by not using the hook
most likely the reason is different versions of reanimated, though I don't have any proofs |
This changes work for me. I had to apply them manually via |
I use these modules:
"react-native": "0.70.6",
"react-native-vision-camera": "^2.15.2",
"vision-camera-code-scanner": "^0.2.0"
And the app crashes without a warning or an error on the console!
P.S. I have asked for camera permission earlier in the app.
Here is my code :
import { useScanBarcodes, BarcodeFormat } from 'vision-camera-code-scanner';
import TextRecognition from '@react-native-ml-kit/text-recognition';
const App = () => {
const devices = useCameraDevices();
const device = devices.back;
const camera = useRef(null);
return
}
The text was updated successfully, but these errors were encountered: