flutter_audio_output 1.0.7 copy "flutter_audio_output: ^1.0.7" to clipboard
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 to ci.yml allowing reusable workflow execution within publish.yml.
  • Global Executables: Standardized execution of pana in GitHub Actions via dart pub global run pana to resolve runner tool resolution issues.

๐Ÿงช Testing & Reliability #

  • Integration Tests: Added the missing integration test suite (example/integration_test/app_test.dart and example/test_driver/integration_test.dart) required by the CI workflows.
  • Example Tests: Modernized example application unit tests using mocked method channels (getPlatformVersion, getCurrentOutput, and getAvailableInputs) 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 with withAlpha(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 AVAudioSession playAndRecord coupled with voiceChat mode when changing output devices, permanently solving iOS receiver failures when media players force playback mode.
  • 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.0 paired with Kotlin 2.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 correct getAvailableInputs() 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 changeToHeadphones was calling changeToBluetooth
  • 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_interface to ^2.1.7
  • Updated flutter_lints to ^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
17
likes
150
points
812
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package flutter_audio_output is to adapt music output.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_audio_output

Packages that implement flutter_audio_output