Closed Tymofiev closed 2 weeks ago
@mrousavy I did not add react-native-worklets-core
version because I am not using any frame processors and don't have it installed, is that dependency required anyway?
The RN upgrade is coming soon, but I thought it might be helpful information if it's not working with older versions for some reason...
ps: thanks for answering so fast!
Ah okay, well I didn't know if you are using FPs or not because you chose to ignore the required "reproduceable code" section:
@mrousavy I am so sorry for that! I just wasn't sure what to put in there since it's pretty basic rendering of Camera component with just a few props. Updated the description.
PS: btw I think there is a typo in Reproduceable
section title
@Tymofiev I'm facing the same issue and using react native v 0.72.6 how did you fix it? Can you please help me? Thanks in advance :)
It worked after running eas build
again AFTER installing react-native-worklets-core
.
but I'm still unsure why it is needed in the first place without using frame processing.
Hey I am running into the same situation seeing the Error: react-native-worklets-core is not installed!
following the Expo installation steps on https://react-native-vision-camera.com/docs/guides
I'm simply trying to render the camera without using the frame processing so I don't think I need to install react-native-worklets-core
neither does the installation guide mentioned it.
I'm confused, so is react-native-worklets-core
required anyway?
What's worse for me is that the error persist even after I installed it π
Here are my dependencies:
"react": "18.2.0",
"react-native": "0.72.6",
"expo": "^49.0.21",
"react-native-vision-camera": "^4.0.4",
"react-native-worklets-core": "^1.3.3",
"react-native-reanimated": "^3.6.1",
my babel.config:
module.exports = function (api) {
api.cache(true);
return {
presets: ["babel-preset-expo"],
plugins: [
"expo-router/babel",
"react-native-reanimated/plugin",
["react-native-worklets-core/plugin"],
],
};
};
I am testing on a real iOS device with a Expo dev build that I built after installing react-native-vision-camera
but the react-native-worklets-core
is installed after. I did restart my metro tho.
@Sharf8351 I was just about to test in on the new version of RN... but if you are saying it still requires react-native-worklets-core
then I don't know how to fix it right now other than adding that package...
It does not require react-native-worklets-core - try latest VisionCamera. That builds perfectly fine without Worklets.
Just tested and seems to work without react-native-worklets-core
on "react-native": "0.73.6"
with "react-native-vision-camera": "4.0.4"
.
What's happening?
When app starts on iOS without
react-native-worklets-core
installedError: react-native-worklets-core is not installed!, js engine: hermes
error is thrown. Following https://www.react-native-vision-camera.com/docs/guides/frame-processors#disabling-frame-processors guide to explicitly disable frame processors makes no change.React Native version:
0.71.15
.PS: This works fine on example app after uninstalling
react-native-worklets-core
dependency and removinguseFrameProcessor
from camera page.Reproduceable Code
Relevant log output
Camera Device
Device
iPhone 15 (iOS 17.4) Simulator iPhone 11 (iOS 17.4.1)
VisionCamera Version
4.0.1
Can you reproduce this issue in the VisionCamera Example app?
No, I cannot reproduce the issue in the Example app
Additional information