Comments (9)
Update
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.
from react-native-vision-camera.
@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 :)
from react-native-vision-camera.
It does not require react-native-worklets-core - try latest VisionCamera. That builds perfectly fine without Worklets.
from react-native-vision-camera.
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"
.
from react-native-vision-camera.
- Why did you not post your react-native-worklets-core version?
- You need react-native-worklets-core 1.x.x for V4, and 0.x.x for V3 (you are on V4, so react-native-worklets-core 1.x.x)
- Might also be a good idea to upgrade your RN version to 0.72 or 0.73, but 0.71 should be good.
from react-native-vision-camera.
@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!
from react-native-vision-camera.
Ah okay, well I didn't know if you are using FPs or not because you chose to ignore the required "reproduceable code" section:
from react-native-vision-camera.
@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
from react-native-vision-camera.
@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...
from react-native-vision-camera.
Related Issues (20)
- π Fatal Error on App Initialization: IllegalArgumentException - width must be positive in CameraDeviceDetails.getFormats HOT 5
- π Unable to scan code-39 barcode. HOT 2
- π V3 is not reading Data-Matrix codes with black background on Android. HOT 4
- π [4.5.3] Google Api Error: Invalid request - Your app declares support for 'riscv64' architecture, but the following libraries are missing HOT 21
- π Can't find VisionCamera.xcodeproj as Readme HOT 3
- π InitializationException - Device reporting less cameras than anticipated HOT 7
- π Fatal Error on App Initialization: IllegalArgumentException - width must be positive in CameraDeviceDetails.getFormats HOT 1
- π§ v4.5.3 fails to build on Android - jetified-camera-core-1.5.0-alpha01/jni/riscv64/libimage_processing_util_jni.so is not an ABI HOT 12
- π TakePhoto() doesn't work with Android Emulator (Pixel 4 API 28, Pixel 4 API 31, Pixel 8 API 31) HOT 9
- β¨ Able to use this library detect QR code from the image HOT 3
- π Issue launching camera on iOS HOT 1
- π§ Unable to find a specification for `react-native-worklets-core` depended upon by `VisionCamera/FrameProcessors` HOT 3
- π Audio is not working ^4.5.3 (IOS) HOT 2
- π§ could not build Objective-C module 'vision_camera_code_scanner' HOT 2
- π Production Build Error with 4.5.3 HOT 3
- π§ Production Build Error with 4.5.3 HOT 5
- β¨ Document Scanner HOT 3
- π error when trying to upload the app to Play Store v4.5.2 and v4.5.3 HOT 3
- π V3 Π½Π΅ ΡΡΠΈΡΡΠ²Π°Π΅Ρ ΠΊΠΎΠ΄Ρ Data-Matrix Ρ ΡΠ΅ΡΠ½ΡΠΌ ΡΠΎΠ½ΠΎΠΌ Π½Π° Android HOT 2
- π react-native-vision-camera | App crashing after setting FPS and applying frameProcessor to Camera HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-vision-camera.