react-native-executorch 0.9.3

v0.​9.​3Patch Release
In this article

Bug fixes

  • Model loading works again in apps built with the hermes-stable or hermes-canary transform profiles. A static field initializer in ResourceFetcher relied on this, which the async transform hoisted to module scope, so every load threw TypeError: undefined is not a function right after the download finished, on both iOS and Android (#1310 by @danchily2).
  • Android release builds no longer crash during ETInstaller initialization. R8 was stripping ExecuTorch classes that JNI looks up at runtime, producing ClassNotFoundException: org.pytorch.executorch.Module in minified builds. The upstream ExecuTorch ProGuard rules now ship with the library through consumerProguardFiles (#1325 by @injunchoi98).

Improvements

  • Model download telemetry gained two fields, system and bundleId, so a download event now records the operating system and the bundle identifier of the app that triggered it (#1311 by @mkopcins).

Full changelog: v0.9.2...v0.9.3

Release card
react-native-executorch 0.9.3 release card