Skip to content

text-encoding v1.0.1

Choose a tag to compare

@ammarahm-ed ammarahm-ed released this 05 Sep 04:52
· 130 commits to main since this release

TextEncoder and TextDecoder for
@react-native-quickjs/quickjs,
per WHATWG Encoding.

npm install @react-native-quickjs/text-encoding@1.0.1

What changed in 1.0.1

  • Android: the module no longer ships its own JNI library. The native
    core and platform JNI are folded into the engine's single
    libquickjsinstancejni.so (whole-archived at build time), so an app loads
    one .so instead of two. The Kotlin half now loads the engine library via
    SoLoader, and the JNI layer captures the JavaVM from its attach call
    rather than a JNI_OnLoad (one per .so).
  • iOS: module headers are private to the pod, keeping jsi.h/quickjs.h
    out of the generated Swift module map.
  • Host/build: the module links whichever JSI target the build defines
    (ReactAndroid::jsi on Android, jsi on the host).