margelo / react-native-worklets-core

🧵 A library to run JS functions ("Worklets") on separate Threads
https://margelo.io
MIT License
531 stars 36 forks source link

Android only works in debug mode #208

Open bonnmh opened 1 month ago

bonnmh commented 1 month ago

The code works fine on iOS, however with Android it only works in debug mode, release mode doesn't seem to work, any answers are appreciated, thanks

Device: Samsung SM-M325FV OS: Android package.json file:

{
        "dependencies": {
                "react-native": "0.72.4",
                "react-native-vision-camera": "4.0.5", 
                "react-native-worklets-core": "1.3.3",
                "react-native-reanimated": "3.10.0",
        }
}
hannojg commented 1 month ago

release mode doesn't seem to work

What exactly doesn't work?

hannojg commented 1 month ago

What is the code you're trying to run?

bonnmh commented 1 month ago

What is the code you're trying to run?

Thank you for your quick response, I used them in combination with the "react-native-vision-camera-face-detector" library: "1.6.2". And encountering the above problem, after researching the results I received answers related to worklets-core

https://github.com/mrousavy/react-native-vision-camera/issues/1843#issuecomment-1766159431