Closed KarthiPN closed 1 month ago
Guten Tag, Hans here! 🍻
It looks like you're facing an issue with FrameProcessorsUnavailableError
. However, I notice you haven't provided any relevant logs, which are essential for troubleshooting. Please check your logs in Xcode or using adb logcat
for Android, then provide those in your issue. This will help mrousavy to understand and fix the problem more effectively. Also, please ensure your environment details are included, like versions of React Native and any relevant libraries.
Feel free to follow up with those logs, and we can take a look!
Note: If you think I made a mistake, please ping
@mrousavy
to take a look.
Did you install react-native-worklets-core
?
This is a bug, not a question. You used the wrong issue template.
Question
I have used useFrameprocessor like the code mentioned below but no matter what I do I'm getting " ERROR TypeError: Cannot read property 'FrameProcessorsUnavailableError' of undefined, js engine: hermes"
What I tried
import React, { useState, useEffect } from 'react'; import { View, Text, StyleSheet, Button } from 'react-native'; import { Camera, useCameraDevice,CameraPermissionStatus, useFrameProcessor } from 'react-native-vision-camera';
const CameraVision = ()=>{ const [frameCount, setFrameCount] = useState(0);
const [cameraPermission, setCameraPermission] = useState('not-determined');
const device = useCameraDevice('front');
}
export {CameraVision}
VisionCamera Version
latest
Additional information