A Capacitor plugin for native speech recognition on iOS and Android, enabling voice-to-text in hybrid mobile apps.
Capacitor Speech Recognition Plugin is a native plugin that enables speech-to-text functionality in Capacitor-based hybrid mobile applications. It provides a JavaScript API to access iOS and Android's built-in speech recognition services, allowing developers to add voice input features without writing platform-specific code. The plugin handles permissions, language configuration, and real-time transcription results.
Mobile developers building hybrid apps with Capacitor/Ionic who need to integrate voice recognition features such as voice commands, dictation, or accessibility tools.
Developers choose this plugin because it offers a consistent, well-documented API for both major mobile platforms, eliminating the need to write separate native implementations. It simplifies permission handling and provides real-time transcription updates, making it easier to build responsive voice interfaces.
The Capacitor Speech Recognition Plugin provides a unified JavaScript API to access native speech recognition capabilities on iOS and Android devices. It allows hybrid mobile apps built with Capacitor to convert spoken language into text, enabling voice commands, dictation, and other voice-driven interactions.
The plugin abstracts platform-specific speech recognition implementations into a simple, promise-based API, following Capacitor's design principles for bridging web and native functionality.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides a single JavaScript interface for both iOS and Android, abstracting platform differences with methods like start() and stop(), as shown in the consistent API documentation.
Supports streaming partial results via event listeners, enabling immediate feedback during speech input, implemented in the addListener('partialResults') method.
Includes built-in methods like checkPermissions() and requestPermissions() to handle microphone and speech recognition permissions seamlessly, simplifying compliance.
Allows setting recognition language and listing supported languages via getSupportedLanguages(), though with noted limitations on newer Android versions.
The getSupportedLanguages() method is not available on Android 13 and newer, reducing functionality on up-to-date devices and complicating language support checks.
Partial results streaming does not work on Android when the popup option is enabled, creating cross-platform inconsistencies and requiring workarounds for real-time feedback.
Depends on the device's OS speech recognition, which may vary in accuracy, require internet connectivity, and lack offline capabilities, limiting control and reliability.