-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Worklets.createRunOnJS stop the app #207
Comments
Yeah I have been also facing the same issue. This started happening after I migrated to react-native-vision-camera v4. Here is my dependancies
And the fact is, If I create fresh project with above dependencies then it works. So I am clueless on how to debug this in my existing app. @mrousavy I know you are very much busy, but just a guide on how to debug this would be really helpful. |
|
Hopefully this is not thread hijacking. But: what version of the library is recommended to use, that wouldn't suffer from this issue for example? |
I upgraded to below versions and now its working without any issues
|
Same issue, even with the packages from above comment. |
@IlyaZusko did you resolved this issue ? |
I am facing the same issue.. |
In my project, I use the frameProcessor from the react-native-vision-camera library. I have a code like this:
When I launch the project and go to the screen where the function is called, the application immediately freezes and in xcode I get errors like in the screenshot below
My package.json
My babel.config.js
Initially, I assumed that this was due to the fact that I transfer too often from the worklet stream to the js stream, however, I also tried to write just a functional where, at the click of a button, I would transfer information to the js stream once and the application still hung with the same errors in xcode. Has anyone faced similar problems and how did you solve them?
The text was updated successfully, but these errors were encountered: