Open kHanHnq4901 opened 2 days ago
Guten Tag, Hans here! 🍻
It looks like you are having some trouble with runAsync(..)
. One important thing, your log shows an error indicating that a regular JavaScript function cannot be shared. Make sure that you are decorating your function with the 'worklet' keyword to allow it to be used as a worklet.
Also, I see that you did not try to reproduce this issue in the VisionCamera Example app. It's important to do that, as it could help narrow down the problem. If the issue persists after trying the example app, please make sure to provide any relevant logs from there.
If you're not sure how to gather these logs, for Android you can use adb logcat
, and for iOS, check the logs in Xcode. This information is crucial for mrousavy to help you!
Feel free to update your issue with more details, and we can take a closer look!
Note: If you think I made a mistake, please ping
@mrousavy
to take a look.
May be related to #2820
Also for me helped setting babel.config like this
...
plugins: [
['react-native-worklets-core/plugin'],
['react-native-reanimated/plugin', {processNestedWorklets: true}]
...
@NFSMONSTR I have set up babel.config like that and got this error
What's happening?
Reproduceable Code
Relevant log output
Camera Device
Device
Samsung Galaxy A03s
VisionCamera Version
4.5.3
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