Skip to content

nitro-input v0.3.7

Choose a tag to compare

@ronickg ronickg released this 05 Oct 15:10
· 14 commits to main since this release
  • Android: no longer breaks VisionCamera frame processors. NitroInput
    linked libworklets.so although it uses only worklets' header-inline API,
    and as a Nitro package it loads at app start, so it became the first library
    to load libworklets.so. On Android that changes which copy of worklets'
    weak RTTI each library binds to; react-native-vision-camera-worklets'
    frame-processor queue then failed worklets' dynamic_cast, the runtime got a
    null queue, and opening any frame-processor camera crashed with SIGSEGV in
    worklets::WorkletRuntime::scheduleImpl. Worklets is now used headers-only
    (no DT_NEEDED), and installRuntime checks the UI runtime holder by type
    name instead of dynamic_cast, which is not reliable across shared libraries
    on Android.