A Capacitor plugin for recording audio with full cross-platform support (Android, iOS, Web) and advanced features like pause/resume and interruption handling.
Capacitor Voice Recorder is a plugin for the Capacitor framework that adds audio recording capabilities to hybrid mobile and web applications. It solves the problem of capturing voice input across different platforms (Android, iOS, Web) with a consistent JavaScript API, handling permissions, device compatibility, and audio interruptions automatically.
Developers building cross-platform mobile or web apps with Capacitor or Ionic who need to integrate voice recording features, such as for note-taking, messaging, or audio capture functionalities.
Developers choose this plugin because it offers a unified, well-documented API for audio recording across all major platforms, includes advanced features like pause/resume and system interruption handling, and simplifies permission management and file storage integration.
Capacitor plugin for voice recording
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 audio recording on Android, iOS, and Web, abstracting platform-specific complexities like permission prompts and device capabilities.
Automatically pauses recordings during system events like phone calls on iOS and Android, with event listeners for seamless resumption, reducing data loss.
Offers an option to save recordings directly to device storage via the directory parameter, avoiding Base64 memory overhead for long audio captures.
Simplifies audio permission workflows with dedicated methods for requesting and checking permissions, ensuring consistent user prompts across platforms.
Recordings vary in format and MIME type by OS and browser (e.g., AAC on mobile, WebM/MP4 on web), requiring manual conversion for cross-device playback, which the plugin does not support.
Interruption handling for events like browser tab switches or other app audio focus is not implemented on the web platform, unlike native mobile, limiting consistency in hybrid apps.
Playing back files saved to storage requires additional integration with Capacitor Filesystem and URL conversion steps, adding development overhead compared to simple Base64 playback.