audio_session
Sets the iOS audio session category and Android audio attributes for your app, and manages your app's audio focus, mixing and ducking behaviour.
0.2.4
1.2M downloads/mo
#309 most downloaded on pub.dev
ryanheise/audio_session
What this package is like to depend on
Last release 1 months ago
29 Jun 2026
Release timing varies
gaps range from 2 weeks to 10 months
Nearly every release is documented
notes for 43 of 43 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
47 releases · first in 2020
2 releases in the last 12 months
see the full history below
Release timeline
47 releases · Aug 2020 to Jun 2026Releases
latest 47-
0.2.429 Jun 2026 -
0.2.319 Mar 2026Release notes
Open source →- Fix AVAudioSession() method handler throwing when arguments is null (@snipd-mikel).
- Fix audioAttributes being ignored on Android (@LucasAlbergoni).
- Fix setCommunicationDevice by eliminating cache (@dballance).
-
0.2.213 May 2025 -
0.2.118 Apr 2025 -
0.2.002 Apr 2025Release notes
Open source →- Breaking change: AUDIO_SESSION_MICROPHONE=0 by default on iOS.
- Migrate to Kotlin.
- Bump min flutter version to 3.27.0, AGP to 8.5.2.
-
0.1.2503 Feb 2025 -
0.1.2427 Jan 2025Release notes
Open source →- Add support for SwiftPM.
- Define AVAudioSessionCategory constants using raw strings.
-
0.1.2314 Dec 2024Release notes
Open source →- Replace androidx.media2 by androidx.media.
- Bump Android minSdk from 16 to 19.
- Fix Android lints.
-
0.1.2214 Dec 2024Release notes
Open source →Merge branch 'AlexBacich-feature/prefers-no-interruptions-from-system…
…-alerts'
Release notes
Open source →- Add prefersNoInterruptionsFromSystemAlerts (@AlexBacich).
- Add inputGain features to AVAudioSession (@Volsavr).
- Export Android broadcast receivers for SDK >= 33 (@techieasif).
- Fix dispatchMediaKeyEvent error (@yellowfisherz).
- Handle iOS exception in setActive (@lsslu).
-
0.1.2117 Jul 2024 -
0.1.2010 Jul 2024 -
0.1.1904 Apr 2024Release notes
Open source →- Run setActive in a thread on iOS to avoid jank (@jointhejourney).
- Update minimum iOS version to 12.0.
-
0.1.1816 Nov 2023Release notes
Open source →- Fix parameter type in AVAudioSessionCategoryOptions.contains (@kainosk).
- Fix parameter type in AVAudioSessionSetActiveOptions.contains (@kainosk).
-
0.1.1711 Nov 2023 -
0.1.1606 Jun 2023 -
0.1.1531 May 2023Release notes
Open source →- AGP 8 compatibility (@josephcrowell).
- Update AGP to 7.3.0.
- Apply flutter_lints.
-
0.1.1415 May 2023 -
0.1.1309 Dec 2022 -
0.1.1208 Dec 2022Release notes
Open source →- Add AndroidAudioManager.scoAudioEventStream (@rwrz)
- Add AndroidAudioManager.currentScoAudioState (@rwrz)
-
0.1.1117 Nov 2022 -
0.1.1017 Jul 2022 -
0.1.907 Jul 2022 -
0.1.824 Jun 2022 -
0.1.727 May 2022Release notes
Open source →- Fix bug detecting added devices on iOS/macOS (@derekcoder).
- Fix bug decoding Android enums.
- Migrate to Flutter 3, Android 31
-
0.1.620 Aug 2021Release notes
Open source →- Update Android Gradle dependencies.
- Fix Android compiler warnings.
- Fix setBluetoothScoOn bug.
-
0.1.6+120 Sep 2021 -
0.1.515 Jun 2021 -
0.1.415 Jun 2021 -
0.1.308 Jun 2021Release notes
Open source →- Mostly complete AndroidAudioManager API.
- Mostly complete AVAudioSession API.
- Unified Android/iOS API for device discovery.
- Option to remove iOS microphone code at compile time.
-
0.1.229 May 2021 -
0.1.127 May 2021Release notes
Open source →- Fix iOS interruption notifications bug.
- Fix deprecated warnings on Android (@lhartman1).
-
0.1.028 Feb 2021 -
0.1.0-nullsafety.301 Feb 2021 pre-releaseNothing published for this version
-
0.1.0-nullsafety.222 Jan 2021 pre-releaseNothing published for this version
-
0.1.0-nullsafety.107 Dec 2020 pre-releaseNothing published for this version
-
0.1.0-nullsafety.028 Nov 2020 pre-releaseNothing published for this version
-
0.0.1111 Jan 2021 -
0.0.1023 Dec 2020Release notes
Open source →- Support rxdart 0.25.0.
- Fix leaked context on Android.
- Remove compiler warnings on iOS.
-
0.0.913 Oct 2020Release notes
Open source →- ARC fixes on iOS.
- Register notification observers once for all FlutterEngines on iOS.
- Add AVAudioSessionInterruptionNotification.wasSuspended.
-
0.0.807 Oct 2020 -
0.0.713 Sep 2020 -
0.0.608 Sep 2020 -
0.0.506 Sep 2020 -
0.0.430 Aug 2020 -
0.0.326 Aug 2020Release notes
Open source →- Add bitwise operations to flags and options.
- Add AudioSessionConfiguration.copyWith.
-
0.0.226 Aug 2020Release notes
Open source →- Lower min sdk to 1.12.13+hotfix.5
- Add override options to setActive.
- Remove close.
-
0.0.123 Aug 2020