audio_manager 1.0.0
audio_manager: ^1.0.0 copied to clipboard
A flutter plugin for music playback, including notification handling.
1.0.0 #
- Add full desktop platform support: macOS, Windows, and Linux
- Add macOS support with AVFoundation, Now Playing / Control Center, media keys, and system-volume sync via CoreAudio
- Add Windows support with
Windows.Media.Playbackand SMTC (taskbar media controls) - Add Linux support with GStreamer and MPRIS desktop media controls
- Add Swift Package Manager (SPM) support on iOS, coexisting with CocoaPods; the iOS entry point is now the pure-Swift
SwiftAudioManagerPlugin - Migrate iOS sources into the SPM package layout (
ios/audio_manager/Sources/audio_manager/) and align the podspec deployment target with iOS 13.0 - Migrate the example app to SPM (CocoaPods deintegrated)
- Adopt
package:lints/recommendedand resolve all static-analysis findings (type annotations, file naming, web doc comments, example dependency placement) to pass the pub.dev analysis check - Make the package web/WASM-compatible by removing the top-level
dart:ioimport (file()now uses a conditionallocal_file.File, with a path-only stub on web) - Update README, screenshots, and example documentation; add repository and issue tracker metadata
0.9.2 #
- Rebuild the web implementation on
package:web(HTMLAudioElement), fixing the runtime crash, adding event forwarding, and resolving local assets in release builds - Request the Android 13+
POST_NOTIFICATIONSpermission at runtime and re-post the playback card once granted - Fix pause being ineffective, volume not syncing, and notification display on iOS; migrate to the
UIScenelifecycle - Fix the notification cover not showing and
stopleaking through release builds on Android - Clear the leftover playback card when the app exits and sync the track index on switch
- Fix
timeupdateclearing the error state and clampsetVolumearguments - Upgrade the Android build toolchain and align the example's compileSdk/targetSdk with data backup rules
- Refactor the example into a layered controller-and-screen structure
- Use a reliable HTTPS cover in the example and add CI workflows
0.9.1 #
- Support Android 12+
PendingIntentflags and foreground service type - Use
MediaSession/MediaStylefor Android notification and lock-screen controls - Add
updateInfoto update title, description, and cover while playing - Fix cover load failure stopping playback
- Fix shuffle mode so every track is visited before the sequence repeats
- Guard native events after Flutter engine detach
- Request Android audio focus and avoid iOS background audio mixing
- Migrate package and example to Dart 3
- Surface native start errors and clear stale loading state
- Sync iOS playback state with the real AVPlayer state
- Add notification title line and button visibility configuration
- Use AVURLAsset with a User-Agent for stream URLs
- Add
currentStatefor native playback state queries - Refactor the example into a layered controller and screen structure
- Use a reliable HTTPS cover in the example
Fixed issues #
0.8.2 #
- fix
playOrPausemethod error - Add support for loading covers from the app's data dir on Android
0.8.1 #
- update to flutter 2.0
- fix to null safety
0.7.3 #
- fix ios replay
- support web
- update android notification text to english
0.5.7+1 #
0.5.5+3 #
- Play audio immediately
setRatemethod to fix num conversion double- Fix iOS remote Control previous/next error
- Fix iOS remove lock screen control from notification center
0.5.4+1 #
- Fix loading local file crash
0.5.4 #
- fix ios autoplay
- fix ios remote control of pre/next play event
0.5.3+3 #
- fix out of bounds
- fix repeated problem of notification service
- replace android notification chinese text to icon
0.5.3 #
- fix iOS stuck
- add
toPlayandtoPausemethod - add interrupt pause
0.5.2+1 #
- remove
AndroidManifast.xmlredundant configuration - Optimize playback status updates
0.5.1+5 #
- Supports playing local directory media files
- add seek completed callback
- Add volume control & volume changed callback
0.5.1 #
- Add internal playlist management
0.3.1+1 #
- Fix iOS remote command error
0.3.1 #
- Add
autoattribute whether to play automatically, default is true - Optimize the time type
- Fix repeat callbacks
0.2.1+hotfix.2 #
- Fix iOS loop playback
0.2.1 #
- Add cache hint
- Fix start and stop error
- List loop playback
0.1.5 #
- Optimization error prompt.
0.1.4 #
- Fix pub.dev support.
- Add method to get playback info.
0.1.3 #
- Fix Initialize before playing.
0.1.2 #
- Fix ios timeupdate.
- Customize the style of the slider of the demo
0.1.1 #
- update change log
0.0.2 #
- update
seekTo,rate,onEventscallback handle. - update demo
0.0.1 #
- Initial version, created by Jerome Xiong