Skip to content

Latest commit

 

History

History
193 lines (136 loc) · 5.63 KB

CHANGELOG.md

File metadata and controls

193 lines (136 loc) · 5.63 KB

Changelog

[next]

  • Prevent exceptions when null values are passed to notifications center
  • Prevent crash by checking if headlessServiceInitialized before invoking onNotificationBackgroundPlayerStateChanged

audioplayers 0.14.0

  • Adding macOs support
  • ios:fix lack of seek completion handle
  • ios Delay start fixed

audioplayers 0.13.7

  • Bump dependencies, improve gitignore
  • Upgrade pubspec pattern

audioplayers 0.13.6

  • added setPlaybackRate feature for Android
  • Automatic detect address is local or remote (thanks, @saeed-golshan)

audioplayers 0.13.5

  • fixed crash on iOS when startHeadlessService() wasn't called on AudioPlayer (by @JesseScott)

audioplayers 0.13.4

  • fixing missing cleanup on hot restart on Android
  • Background notification updates on iOS

audioplayers 0.13.3

  • audio notification area fixes
  • fix when other apps are playing sounds
  • fix android race condition
  • Support for registering plugin in background enviroment
  • fix typos and docs

audioplayers 0.13.2

  • Handling plugin dealloc and onTimeInterval crashs (thanks @chedechao111)
  • Audio position update when the audio is paused (thanks @bjornjacobs)

audioplayers 0.13.1

  • Added stayAwake feature (thanks, @danielR2001)
  • Improved dispose method (thanks, @hugocbpassos)
  • Added getCurrentPosition (thanks, @hariom08)
  • Some bug fixes and small changes

audioplayers 0.13.0

  • Call onDurationChanged after setUrl() to be consistent with ios version (thanks @subhash279)
  • Adding getDuration feature iOS/Android (thanks @alecorsino)

audioplayers 0.12.1

  • Fixes bug where the stream handlers were not called due to exception on the handler
  • Proper error message when errors in the dart handler occurs

audioplayers 0.12.0

  • Update to path_provider 1.1.0
  • Upgrade to Swift 5 in example project setting (thanks @jerryzhoujw)

audioplayers 0.11.0

  • Breaking change. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to also migrate if they're using the original support library.

audioplayers 0.10.1

  • Seek and play now works with milliseconds instead of second (thanks, @catoldcui and @erickzanardo)

audioplayers 0.10.0

  • Added a low latency api for android (thanks, @feroult)

audioplayers 0.9.0

  • Improved callbacks using Streams to allow for multiple subscibers (thanks, @LucasCLuk)
  • Update uuid version to 2.0.0 (thanks, @BeMacized)

audioplayers 0.8.2

  • Update path_provider version (thanks, @apiraino)

audioplayers 0.8.1

  • Fix for duration when playing a stream
  • Added respectSilence flag in audioplayers, or isNotification for play methos in audio_cache False by default, to use player for local notification. Silent when device is in silent mode.

audioplayers 0.8.0

  • Allow setting seek position in play function (thanks @rob-patchett)
  • Get duration from the underlaying asset instead of from AVPlayerItem (thanks @andressade)
  • Adding player state (thanks @renancaraujo)
  • Set the audio session to active (thanks @benwicks)
  • Delay seek operations on Android until player is ready (thanks @jeffmikels)

audioplayers 0.7.8

  • Fix bug regarding name clash with other plugins (thanks @imtaehyun)

audioplayers 0.7.7

  • Fix bug when using nested files with audio cache (thanks @hotstu for reporting and @eclewlow for fixing)

audioplayers 0.7.6

  • Fix the nefarious bug of 'sound only playing through headphones' (thanks so much, @tsun424)

audioplayers 0.7.5

  • Fix SDK constraint for Dart 2.1 (thanks @snoofer and @sroddy)

audioplayers 0.7.4

  • Some more fixes to work without errors with Dart 2 stronger types

audioplayers 0.7.3

  • Support Android SDK 16-20 (thanks, @sroddy)
  • Avoid restarting a looping player if is stopped (thanks, @sroddy)

audioplayers 0.7.2

  • Bug fixes for iOS

audioplayers 0.7.1

  • Formatting

audioplayers 0.7.0

  • Improved lifecycle handling for android
  • Big performance boots
  • Allows for finer control of releasing (with setReleaseMode, setUrl, resume, release)
  • Allows for setting the volume at any time (with setVolume)
  • Added LOOP as a ReleaseMode options, making it significantly faster
  • Some other refactorings

audioplayers 0.6.0

  • Major Refactoring!
  • Renaming everything to audioplayers (mind the s)
  • Better logging
  • Added AudioCache (imported from Flame)
  • Adding tests!
  • Adding better example
  • Greatly improving README
  • Lots of other minor tweaks

audioplayers 0.5.2

  • don't call the onClomplete hook when you manually stop the audio

audioplayers 0.5.1

  • fix for dart 2 (thanks to @efortuna)

audioplayers 0.5.0

  • improves Android performance by not calling prepare on the main thread

audioplayers 0.4.1

  • fix seek for iOS

audioplayers 0.4.0

  • volume controls

audioplayers 0.3.0

  • working on iOS (thanks @feroult <3)

audioplayers 0.2.0

  • adding disable log option

audioplayers 0.1.0

  • support for multiple audios simultaneously

0.2.0

  • support for local files

0.1.0

0.0.2

Separated handlers for position, duration, completion and errors

  • setDurationHandler(TimeChangeHandler handler)

  • setPositionHandler(TimeChangeHandler handler)

  • setCompletionHandler(VoidCallback callback)

  • setErrorHandler(ErrorHandler handler)

  • new typedef

typedef void TimeChangeHandler(Duration duration);
typedef void ErrorHandler(String message);

0.0.1

  • first POC :
    • methods : play, pause, stop
    • a globalHandler for position, duration, completion and errors