react-native-worklets-core
react-native-worklets-core copied to clipboard
🧵 A library to run JS functions ("Worklets") on separate Threads
I faced this issue at react native 0.75  
#### The error: ``` [!] The following Swift pods cannot yet be integrated as static libraries: The Swift pod `VisionCamera` depends upon `react-native-worklets-core`, which does not define modules. To opt...
Adds support for using Nitro Modules in a Worklet context. This means, you can use any kind of module from a different Thread/Runtime. It should essentially be a light copy...
Fixes this error: 
I have this library installed as a dependency of https://github.com/gev2002/react-native-vision-camera-image-labeler. I have the following package versions: ``` "react-native-vision-camera": "^4.5.2", "react-native-vision-camera-image-labeler": "^2.2.0", "expo": "^51.0.31", "react-native": "0.74.5", ``` If I disable the...
# SDK Version Mismatch in React Native Project ## Description After installing the package and attempting to run `yarn dev`, I'm encountering an error related to SDK version mismatch. The...
Here is a minimal example to reproduce - ```javascript const workletContext = Worklets.defaultContext; workletContext.runAsync(() => { 'worklet'; const day = '2021-09-01'; console.log('Day is', new Date(day)); }); ``` Output: > Day...
Hi @mrousavy , I have a question on using the released 1.5.0 vs using the [2.0.0-beta.4](https://www.npmjs.com/package/react-native-worklets-core/v/2.0.0-beta.4) When it builds, it seems to work fine, but I'm getting an intermittent failure...
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':react-native-worklets-core:configureCMakeDebug[arm64-v8a]'. > [CXX1429] error when building with cmake using /Users/zyf/Desktop/Project/boyaa/gaw/apps/mobile/node_modules/react-native-worklets-core/android/CMakeLists.txt: -- The C compiler identification is...
I created a new project with react-native 0.78.1 and as soon as i install worklets-core, the build fails with the below error ``` > Task :react-native-vision-camera:buildCMakeDebug[arm64-v8a] FAILED C/C++: ninja: Entering...