output_route_selector 2.1.1 copy "output_route_selector: ^2.1.1" to clipboard
output_route_selector: ^2.1.1 copied to clipboard

A Flutter plugin to select audio output routes (speaker, receiver, bluetooth, wired headset) on iOS and Android.

2.1.1 - 2026-01-20 #

Fixed #

  • Android: Events now report the actual device state after switch attempt, not the requested state. This fixes the issue where switching to receiver while wired headphones are connected would send a "receiver" event even though the system couldn't switch (it would stay on wiredHeadset).

2.1.0 - 2026-01-20 #

Added #

  • Auto-sizing: Widget automatically takes the size of its child (no need to specify width/height)
  • Initial audio state: Sends current audio route immediately when stream is subscribed
  • Live dialog updates: Android dialog updates in real-time when devices connect/disconnect
  • Theme support: Android dialog adapts to Light/Dark mode
  • AudioDeviceType.airpods: New device type for AirPods (detected by name)
  • Auto-dismiss: Android dialog closes when widget is disposed (e.g., screen popped)

Changed #

  • Simplified API: Only child parameter required, size is automatic
  • Improved Android dialog positioning and styling

Fixed #

  • Android: Dialog now updates when Bluetooth devices connect/disconnect while open
  • Android: Correct audio route reported after device disconnection
  • Android: Dialog closes properly when navigating away from screen
6
likes
160
points
414
downloads

Publisher

verified publisherraffazatyan.dev

Weekly Downloads

A Flutter plugin to select audio output routes (speaker, receiver, bluetooth, wired headset) on iOS and Android.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on output_route_selector

Packages that implement output_route_selector