-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
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
expo-env-info 1.2.0 environment info:
System:
OS: macOS 12.7.1
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 20.8.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.1.0 - /usr/local/bin/npm
Watchman: 2024.01.22.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /Users/Newton/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10811636
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
npmPackages:
expo: ^49.0.21 => 49.0.22
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.72.6 => 0.72.6
react-native-web: ~0.19.6 => 0.19.10
npmGlobalPackages:
eas-cli: 5.9.3
Expo Workflow: bare
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels