on setting up the lib and opening the camera, the camera briefly shows and then I get the error "java.lang.IllegalStateException: maxImages (3) has already been acquired, call #close before acquiring more."
i'm using "@mgcrea/vision-camera-barcode-scanner": "^0.8.3", "react-native-vision-camera": "^3.8.2" and "react-native-worklets-core": "^0.3.0" in an expo project.
on checking node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/core/CameraSession.kt, maxImages is set to 10, so I don't know what is causing the issue here.
on setting up the lib and opening the camera, the camera briefly shows and then I get the error "java.lang.IllegalStateException: maxImages (3) has already been acquired, call #close before acquiring more."
i'm using
"@mgcrea/vision-camera-barcode-scanner": "^0.8.3"
,"react-native-vision-camera": "^3.8.2"
and"react-native-worklets-core": "^0.3.0"
in an expo project.on checking
node_modules/react-native-vision-camera/android/src/main/java/com/mrousavy/camera/core/CameraSession.kt
, maxImages is set to 10, so I don't know what is causing the issue here.output of
npx expo-env-info