Commit Graph

5 Commits

Author SHA1 Message Date
Max e6ce7f4183 重大架构优化:移除不必要的平台特定代码
🎯 **架构简化**
- 删除整个 ios/ 文件夹和所有 Swift/Objective-C 代码
- 删除整个 android/ 文件夹和所有 Kotlin/Java 代码
- 移除 pubspec.yaml 中的插件平台配置

🚀 **技术优势**
- 从 Flutter 插件转换为纯 Dart 包
- 完全依赖成熟的跨平台包:sherpa_onnx, record, permission_handler
- 大幅简化代码维护和调试复杂度
- 避免平台特定的构建错误和兼容性问题

 **解决的问题**
- 修复 iOS 构建中的重复类定义错误
- 消除 Objective-C/Swift 桥接代码的复杂性
- 提高代码可维护性和跨平台一致性

📦 **新架构**
基于 sherpa_onnx 的纯 Dart 实现,所有平台功能通过现有包处理
2025-09-10 20:47:54 +08:00
Max c47ad5c435 Fix Flutter assets configuration: explicitly specify all model files in pubspec.yaml 2025-09-06 17:36:54 +08:00
Max 58056c6c09 Fix Kotlin null safety issue: add null check for context in isAvailable method 2025-09-06 17:26:24 +08:00
Max ae1ec191a8 Fix build issues: remove duplicate gradle files, increase heap size, fix plugin configuration 2025-09-06 17:23:14 +08:00
Max 5c9a8ea6e6 Initial commit: Flutter speech-to-text plugin with Sherpa-ONNX integration 2025-08-27 17:09:36 +08:00