Repository navigation
2.0.0-rc.4: react-native-worklets
Pre-releaseRelease candidate of the react-native-worklets migration (continues margelo#327).
Changes since rc.3: on Android the Filament runtime's queue is a worklets::AsyncQueueUI with a render-thread scheduler instead of a subclass of AsyncQueue. The subclass failed react-native-worklets' dynamic_pointer_cast whenever libworklets.so was loaded before libreact-native-filament.so (Android compares type_info by pointer and the weak AsyncQueue type_info binds per library in dlopen order), which left the runtime without a queue and aborted on the first scheduled worklet. With Reanimated in the app that was the normal load order.
Verified on React Native 0.83.1 (example app) and 0.87.1 (fresh template app with Reanimated sensors, both library load orders), New Architecture, Hermes, iOS simulator and Android emulator. Peers: react-native-worklets >= 0.12, react-native-reanimated >= 4. Requires the react-native-worklets/plugin Babel plugin.
The tarball includes the prebuilt Filament (from 1.11.0) and Bullet3 binaries, so it installs like the npm package:
"react-native-filament": "https://github.com/eduardoborges/react-native-filament/releases/download/v2.0.0-rc.4/react-native-filament-2.0.0-rc.4.tgz"