- iOS: updated audio session category handling.
- Android: added support for STREAM_NOTIFICATION.
- Updated example.
- iOS: fix AudioSessionCategory reset to ambient.
- Update minimum dart sdk version to 2.19.0.
- Android: update
flutter_plugin_android_lifecycle
to 2.0.17. - Android: fix gradle namespace issue with AGP 8.
- iOS: fix volume slider not shown when pressing physical buttons after
showSystemUI
is reset. - Deprecated:
showSystemUI
setter is deprecated and migrated toupdateShowSystemUI
.
- Fixed audio session not activated with ambient state on iOS.
- Added volume slider example.
- Updated documentation.
- Added
getAndroidAudioStream
method. - Added
getIOSAudioSessionCategory
method. - Updated flutter_plugin_android_lifecycle plugin to 2.0.9.
- Added
setIOSAudioSessionCategory
method. - Added
category
option toaddListener
method. - Update example with audio stream and audio session category pickers.
- Fixed deactivating audio session after removing volume listener on iOS.
- Fixed setting audio stream after attaching volume listener on Android.
- Fixed restoring audio stream after activity is resumed on Android.
- Fixed allow music playback when start listening or reading the volume. (by DerJojo11) #32
- Fixed incorrect volume level due to floating point conversion.
- Updated set mute documentation.
- Added mute functions.
- Added distinct error codes for exception handling.
- Fixed volume level not emitted immediately after attaching volume listener. Set
emitOnStart
to false if you want to keep the previous behavior. - Fixed getting inaccurate volume level on Windows.
- Updated documentation.
- Add linux support
- Fix nullable step value not being handled in windows
- Add windows support
- Fix iOS resume audio stream when return to foreground
- Add setAndroidAudioStream() to set the default audio stream on Android.
- Update example
- Initial release.