react-native-sherpa-onnx 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -224,3 +224,10 @@ target_compile_options(sherpaonnx PRIVATE
224
224
  -Wextra
225
225
  -fvisibility=hidden
226
226
  )
227
+
228
+ # Android 15+ requires 16 KB page-size compatibility on arm64 devices.
229
+ # Keep this target aligned with the other bundled sherpa shared libraries.
230
+ # https://github.com/XDcobra/react-native-sherpa-onnx/issues/76
231
+ if(ANDROID)
232
+ target_link_options(sherpaonnx PRIVATE "-Wl,-z,max-page-size=16384")
233
+ endif()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-sherpa-onnx",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Offline Speech-to-text, text-to-speech, speaker diarization, speech enhancement, source separation, and VAD with sherpa-onnx for React NativeSpeech-to-Text with sherpa-onnx for React Native",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",