Skip to content

Release 0.4.10 (25-11-2026)

Latest

Choose a tag to compare

@NotGeorgeMessier NotGeorgeMessier released this 25 Nov 13:50
d2e81cb

✨ Features

  • Expo config plugin (app.plugin.js): npx expo install react-native-nitro-speech adds it to app.json automatically and writes the iOS NSMicrophoneUsageDescription / NSSpeechRecognitionUsageDescription during prebuild. Customize them with the microphonePermission / speechRecognitionPermission options (don't pass false: both keys are required on iOS)
  • onError now receives a second trace argument: the native call-site path, e.g. RecognizerEngine.startAudioEngine. Can be used for detailed analytics.

🐛 Bug Fixes

  • Android: "recognition fails with 'no selected voice recognition service' when no default service is set (mic turns off immediately)" (#30) by @BuiHung1612. Now falls back to the first installed RecognitionService (e.g. Xiaomi/MIUI). If none is installed, onError fires with SessionStartFailed
  • Public type names collided with other libraries: PermissionStatus → SpeechRecognitionPermissionStatus, VolumeChangeEvent → VoiceInputVolumeChangeEvent

🔁 Migration

  • PermissionStatus and VolumeChangeEvent still work as deprecated aliases. Switch to SpeechRecognitionPermissionStatus and VoiceInputVolumeChangeEvent
  • Expo: the plugin is optional. Existing ios.infoPlist values in app.json are kept when an option is omitted. Run npx expo prebuild after adding or changing plugin options

📚 Docs

  • Speech recognition packages comparison table

📦 Deps

  • Nitrogen bindings regenerated with 0.37.2

📋 Compatibility

  • react-native-nitro-speech@0.4.10 — Main package
  • @gmessier/nitro-speech — Not maintained, 0.4.8 last supported version

Major Release 0.4.0