Closed Abdulkader-Saoud closed 7 months ago
01-31 14:29:59.809 16085 16162 I HermesVM: Compiling JS failed: 1:1:invalid empty parentheses '( )', Buffer size 3 starts with: 280a29 and has protection mode(s): rw-p
Are you using reanimated? See this issue: https://github.com/software-mansion/react-native-reanimated/issues/5576 - enabling processNestedWorklets
in the babel plugin will probably fix your issue.
Sorry again But my babel.config.js is
module.exports = {
presets: ['module:@react-native/babel-preset'],
plugins: [
[
'react-native-reanimated/plugin',
{
processNestedWorklets: true,
},
],
['react-native-worklets-core/plugin']
]
};
and im using those versions
"dependencies": {
"react": "18.2.0",
"react-native": "0.73.3",
"react-native-reanimated": "^3.6.2",
"react-native-vision-camera": "^3.8.2",
"react-native-worklets-core": "^0.3.0"
}
still having the same issue am i missing something ?
Can You provide me with tested versions ? I mean every thing if possible jdk gradle AGP rn vision camera ..... Thank you for the response
Finally !!! This combination worked thank you .
"react-native-reanimated": "^3.6.0",
"react-native-vision-camera": "^3.9.0-beta.0",
"react-native-worklets-core": "^0.3.0"
Still happening. I am not using reanimated. Created new project with expo.
"react-native-vision-camera": "^3.9.0-beta.0",
"react-native-worklets-core": "^0.3.0",
I'm getting the same error message, I'm using the following versions:
"react-native": "0.73.4",
"react-native-reanimated": "3.6.2",
"react-native-vision-camera": "3.7.1",
"react-native-worklets-core": "0.2.0"
and my babel plugins include
["react-native-worklets-core/plugin"],
["react-native-reanimated/plugin", { globals: ["__scanOCR"] }],
It was working with react-native v0.72.6 and react-native-reanimated v3.7.1 but I had to downgrade react-native-reanimated to v3.6.2 to get other stuff in the app working with react-native v0.73.4
What I've tried
Did the downgrade work?
What's happening?
When i use useFrameProcessor the app is crashing while it is working fine when i remove it
I have been trying with different gradle and java versions all the day and nothing worked now im using gradle 8.0 and jdk 17.0.10 any help will be appreciated Thank you
Reproduceable Code
Relevant log output
Camera Device
Device
sdk_gphone64_x86_64
VisionCamera Version
3.8.2
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠️ your issue might get ignored & closed if you don't try this)
Additional information