-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed as not planned
Closed as not planned
Copy link
Labels
🐛 bugSomething isn't workingSomething isn't working
Description
What's happening?
NSInvalidArgumentException: *** -[AVCapturePhotoOutput capturePhotoWithSettings:delegate:] No active and enabled video connection. ios26
Reproduceable Code
<ReanimatedCamera
style={StyleSheet.absoluteFill}
device={device!}
isActive={isActive}
ref={camera}
onInitialized={onInitialized}
onError={onError}
zoom={0}
onStarted={handleCameraStarted}
onStopped={handleCameraStopped}
onPreviewStarted={handlePreviewStarted}
onPreviewStopped={handlePreviewStopped}
onOutputOrientationChanged={handleOutputOrientationChanged}
onPreviewOrientationChanged={handlePreviewOrientationChanged}
onUIRotationChanged={handleUIRotationChanged}
format={format}
fps={fps}
photoHdr={photoHdr}
photoQualityBalance={cameraSettings.photoQualityBalance}
lowLightBoost={canToggleNightMode && enableNightMode}
enableZoomGesture={cameraSettings.enableZoomGesture}
exposure={cameraSettings.exposure}
outputOrientation={cameraSettings.outputOrientation}
photo={cameraSettings.photo}
video={cameraSettings.video}
audio={cameraSettings.audio}
enableLocation={cameraSettings.enableLocation}
/>
Relevant log output
In production this issue happen IOS
Camera Device
'
Device
iphone 17
VisionCamera Version
"react-native-vision-camera": "4.5.1",
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (
Additional information
- I am using Expo
- I have enabled Frame Processors (react-native-worklets-core)
- I have read the Troubleshooting Guide
- I agree to follow this project's Code of Conduct
- I searched for similar issues in this repository and found none.
csicky, brenodt and brunoOGA
Metadata
Metadata
Assignees
Labels
🐛 bugSomething isn't workingSomething isn't working