Loading...
Loading...
Best-practices guide for react-native-vision-camera v5 (Nitro rewrite, April 2026) and migrating from v4. Use when installing, configuring, or writing code with the Camera, outputs, frame processors, recording, or barcode/depth/RAW features. Also use when converting v4 code (photo={true}, takePhoto, useCameraFormat, useFrameProcessor) to the new v5 API.
npx skill4agent add margelo/react-native-skills react-native-vision-camerareact-native-vision-cameraPhotoreact-native-nitro-modulesreact-native-nitro-imagereact-native-vision-camera-workletsreact-native-worklets-coreoutputs={[...]}photovideoframeProcessorcodeScannerusePhotoOutputuseVideoOutputuseFrameOutputuseDepthOutputuseObjectOutputuseBarcodeScannerOutputcapturePhotocreateRecorderformatuseCameraFormatconstraints={[...]}{ fps: 99999 }takePhoto()photoOutput.capturePhoto(settings, callbacks)PhotophotoOutput.capturePhotoToFile(...)FrameProcessorPluginVISION_EXPORT_SWIFT_FRAME_PROCESSORVisionCameraProxy.addFrameProcessorPluginHybridObjectFrameDepth.dispose()try { ... } finally { frame.dispose() }asyncRunner.runAsync(...)trueelsefalsereact-native-vision-camera-barcode-scanneruseObjectOutputisActiveuseIsFocused()pixelFormat: 'yuv''rgb'react-native-vision-camera-resizerMath.min/Math.maxrunOnJSSharedValueuseCameraPermissionuseCameraDeviceusePhotoOutput<Camera />VisionCamera.createCameraSession(...)react-native-vision-camera-resizervision-camera-resize-pluginreact-native-nitro-modulesreact-native-nitro-imagereact-native-workletsreact-native-vision-camera-workletsllms.txtgh api repos/mrousavy/react-native-vision-camera/releases/tags/v5.0.0