flutter_audio_output 1.0.7
flutter_audio_output: ^1.0.7 copied to clipboard
A Flutter package flutter_audio_output is to adapt music output.
1.0.7 #
๐ง CI/CD & Infrastructure #
- Reusable Workflows: Added
workflow_call:trigger toci.ymlallowing reusable workflow execution withinpublish.yml. - Global Executables: Standardized execution of
panain GitHub Actions viadart pub global run panato resolve runner tool resolution issues.
๐งช Testing & Reliability #
- Integration Tests: Added the missing integration test suite (
example/integration_test/app_test.dartandexample/test_driver/integration_test.dart) required by the CI workflows. - Example Tests: Modernized example application unit tests using mocked method channels (
getPlatformVersion,getCurrentOutput, andgetAvailableInputs) to isolate platform calls during widget testing.
๐งน Code Quality & Compatibility #
- Lints & Deprecations: Fixed modern Flutter SDK lints by replacing deprecated
withOpacity(0.1)color modifiers withwithAlpha(26).
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