flutter_audio_output 1.0.6
flutter_audio_output: ^1.0.6 copied to clipboard
A Flutter package flutter_audio_output is to adapt music output.
1.0.6 #
🚀 New Features & Enhancements #
- Environment: Upgraded platform constraints fully supporting Dart 3 (
sdk: ">=3.0.0 <4.0.0") and Flutter>=3.3.0. - iOS: Explicitly re-asserts
AVAudioSessionplayAndRecordcoupled withvoiceChatmode when changing output devices, permanently solving iOS receiver failures when media players forceplaybackmode. - iOS: Elevated iOS integration target permanently to 13.0 mimicking standard native app defaults.
🐛 Bug Fixes & Stability #
- Android: Closed modern Gradle compatibility crashes by officially embedding required namespaces natively bridging Android Studio Flamingo+ features and enforcing SDK 36 validation.
- Android: Updated Internal Gradle Plugin safely to
8.6.0paired with Kotlin2.1.0. - Android: Suppressed implicit legacy API build warnings for backwards-compatible hardware routines ensuring 100% spotless compilation cycles.
- All: Reconstructed legacy evaluation app with fully native 2026-standard architecture and dropped outdated platform bindings.
0.0.4### 🐛 Bug Fixes #
- Integration Tests: Fixed
getAvailableOutputs()method call to use correctgetAvailableInputs()method - Example App: Updated widget tests to match modernized UI
- Android: Fixed Gradle configuration for modern Flutter versions
- Code Quality: Improved integration test reliability and error handling
🔧 Improvements #
- Tests: Enhanced integration test coverage and stability
- Documentation: Updated API documentation for clarity
- CI/CD: Refined automated testing and publishing workflows
0.0.3 #
🔥 Breaking Changes #
- Android: Updated minimum SDK version to 21 (Android 5.0)
- iOS: Updated minimum iOS version to 12.0
- Flutter: Updated minimum Flutter version to 3.0.0
- Dart: Updated minimum Dart version to 2.19.0
🚀 New Features #
- Android: Added support for modern Android audio APIs (API 23+)
- iOS: Fixed
changeToReceiver()method not working properly - All: Added proper error handling with descriptive error messages
- All: Added
removeListener()method to properly clean up listeners - All: Improved audio device detection and availability checking
🐛 Bug Fixes #
- iOS: Fixed
changeToReceiver()using wrong API calls - iOS: Fixed method routing bug where
changeToHeadphoneswas callingchangeToBluetooth - Android: Fixed deprecated
isWiredHeadsetOn()method usage - Android: Fixed memory leaks and proper cleanup in
onDetachedFromEngine - Android: Fixed non-static method calls and thread safety issues
🔧 Improvements #
- Android: Added Gradle 8.8 compatibility
- Android: Added namespace declaration for Android Gradle Plugin 8.x
- Android: Updated Android Gradle Plugin to 8.1.4
- Android: Updated Kotlin version to 1.8.22
- Android: Updated compileSdk to 34
- Android: Added ProGuard rules for proper code obfuscation
- iOS: Added proper audio session configuration
- iOS: Updated iOS deployment target to 12.0
- iOS: Improved Swift version compatibility (5.0)
- All: Added comprehensive documentation and code comments
- All: Improved code quality with modern linting rules
- All: Added proper null safety and type checking
- All: Enhanced error handling and debugging information
📦 Dependencies #
- Updated
plugin_platform_interfaceto ^2.1.7 - Updated
flutter_lintsto ^3.0.0 - Updated various Android and iOS dependencies
🔧 Development #
- Added strict analysis options for better code quality
- Added comprehensive ProGuard rules for Android
- Improved CI/CD compatibility with modern build tools
- Enhanced documentation and code examples
0.0.2 #
- audio source switching control