vosk_flutter_fixed 0.1.4 copy "vosk_flutter_fixed: ^0.1.4" to clipboard
vosk_flutter_fixed: ^0.1.4 copied to clipboard

Flutter plugin for offline speech recognition using the Vosk speech recognition toolkit.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.1.1 - 2026-04-07 #

Fixed #

  • iOS & macOS Structure: Fixed incorrect path mappings in .podspec files that caused "Module not found" errors. Native classes are now correctly located within the vosk_flutter_fixed/Classes subfolder as per the repository structure.
  • Synchronized version across pubspec.yaml and platform podspec files.

0.1.0 - 2026-03-15 #

Added #

  • Web & WASM support: Implemented a "stub-first" conditional import strategy across all native-dependent libraries (dart:ffi, dart:io, archive, path_provider, permission_handler), making the package analyzable and functional on Web and WASM targets.
  • Swift Package Manager (SPM) support: Added Package.swift manifests for both iOS (ios/vosk_flutter_fixed/Package.swift) and macOS (macos/vosk_flutter_fixed/Package.swift).
  • Stub files for dart:ffi, dart:io, archive, path_provider, and permission_handler under lib/src/stubs/ to enable cross-platform analysis.
  • lib/src/ffi_provider.dart as a single re-export point for FFI libraries, switching between real and stub implementations based on dart.library.io.

Changed #

  • Replaced dart:isolate/Isolate.run with Flutter's compute() in ModelLoader for better cross-platform compatibility (Web included).
  • Updated PermissionService to guard permission requests behind Platform.isAndroid || Platform.isIOS, preventing crashes on other platforms.
  • All conditional imports now use the stub-first pattern (import 'stub.dart' if (dart.library.io) 'real.dart') for correct WASM resolution.
  • Updated iOS Podspec version and metadata to match the package.

Fixed #

  • Achieved a perfect 160/160 pana score: all six platforms fully supported (Android, iOS, macOS, Linux, Windows, Web), WASM-ready, SPM-ready, static analysis clean, and all dependency constraints satisfied.

0.0.7 - 2026-03-15 #

Changed #

  • Updated Vosk Android dependency to 0.3.75 to support 16KB page size.

0.0.6 - 2026-01-22 #

Changed #

  • Configured CLI download URLs to point to the official repository for native binaries.
  • Improved CLI installation flow and error reporting.

0.0.5 - 2026-01-22 #

Fixed #

  • Fixed CLI executable name to match package name (vosk_flutter_fixed).
  • Updated internal package name constants in CLI tool.

0.0.4 - 2026-01-22 #

Changed #

  • Excluded large iOS and MacOS native binaries from the pub.dev package to comply with the 100MB size limit.
  • Updated the CLI tool to support downloading and installing native binaries for iOS and MacOS.
  • Updated README.md with instructions for native binaries installation.

0.0.3 - 2026-01-22 #

Important

Technical Note: Previous versions had an incomplete iOS implementation due to missing native frameworks in the ios/Frameworks directory and a casing discrepancy in the method bridge. We apologize for these technical omissions which have now been fully resolved.

Fixed #

  • Resolved iOS microphone input issue by adding explicit AVAudioSession configuration.
  • Fixed critical method name mismatch between Dart and Swift.
  • Added robust debug logging for iOS (NSLog) and Dart sides to track audio data flow.
  • Optimized SpeechService listener logic in Dart for better performance and reliability.
  • Fixed various linting issues across the codebase.

0.0.2 - 2026-01-14 #

Changed #

  • Updated repository URL to https://github.com/dhia-bechattaoui/vosk-flutter-service.

0.0.1 - 2026-01-05 #

Changed #

  • BREAKING: Renamed package to vosk_flutter_fixed.
  • Migrated Android build to Kotlin DSL.
  • Updated record dependency to v6 in example app.
  • Enforced strict type safety (0 analysis issues).

Fixed #

  • Resolved all analysis issues.
  • Updated AGP/Gradle versions.
1
likes
145
points
34
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for offline speech recognition using the Vosk speech recognition toolkit.

Homepage
Repository (GitHub)
View/report issues

Topics

#speech-recognition #vosk #offline #machine-learning #audio-processing

Funding

Consider supporting this project:

github.com

License

Apache-2.0 (license)

Dependencies

archive, args, build_cli_annotations, ffi, flutter, flutter_web_plugins, http, package_config, path, path_provider, permission_handler, pubspec_parse

More

Packages that depend on vosk_flutter_fixed

Packages that implement vosk_flutter_fixed