Skip to content

Latest commit

 

History

History
236 lines (146 loc) · 12 KB

CHANGELOG.md

File metadata and controls

236 lines (146 loc) · 12 KB

4.0.0-rc03 (2023-03-28)

  • android: Fixes compilation issue due to uses of Lifecycle (updates kotlin gradle plugin)

4.0.0-rc02 (2023-03-27)

Bug Fixes

  • android: Fix ANR crashes (#1974) (b70fbd7

  • android: Fix removeUpcomingItems (#67)

  • android: Notification fixes

  • ios: Fix removing items from queue other than the current track (#41)

  • ios: Fix player state not becoming paused after loading (#46)

  • ios: Fix current item not being updated when removing items from queue (#45)

  • ios: Avoid calling onSkippedToSameCurrentItem when track before is removed (#45)

4.0.0-rc01 (2023-03-14)

Bug Fixes

  • android: add deep link back (#1872) (9c227fa)
  • android: fix handling of seek capability (#1938) (166aa0d)
  • android: resolve problem with StopPlaybackAndRemoveNotification not working on subsequent exists (#1762) (e742959)
  • android: use “none” instead of “idle” for none state (#1924) (e125045)
  • clears queue on iOS when you call reset() (#1900) (e3c670a)
  • hooks: updates setting initial playback state in usePlaybackState hook (417f3c4), closes #1931
  • ios: emit state passed to handleAudioPlayerStateChange (#1928) (a65fdcd)
  • ios: prevents overwriting of forward/backward secs (#1855) (fb594c7), closes #1853

3.2.0 (2022-09-23)

Bug Fixes

  • android, events: properly intercept and fire remote playback events (#1668) (9ed308c)
  • android: fix state constants (#1751) (7215e64)
  • example, ios: remove Capability.Stop (#1671) (49800ab)
  • hooks: fix issues with excessive number of pending callbacks (#1686) (1b5bb02)
  • hooks: fix useTrackPlayerEvents dependencies (#1672) (f6229d6)
  • hooks: useProgress & usePlayback hooks (#1723) (31fa40a)
  • ios, events: fix an issue with PlaybackQueueEnded resulting from a race condition (#1750) (e938c68)
  • ios: fix various issues in iOS by upgrading SwiftAudioEx (#1738) (224c491)
  • ts: add null to getCurrentTrack return type (#1681) (096ec68)

Features

  • android: add back option to remove notification (#1730) (82a5df9)
  • android: add string values to State enum (#1734) (bd48c2d), closes #1688
  • android: default the behavior to handle audio becoming noisy (#1732) (dabf715)
  • ios: deprecate waitForBuffer (#1695) (d277182)
  • ios: improve disabling of playback-progress-updated (#1706) (57de8b5)

3.1.0 (18.08.22)

Enhancements
  • Uses latest KotlinAudio which does not use ExoPlayer fork.
  • Adds back support for bluetooth playback control.
Bug Fixes
  • Fixes crash with reset() on Android.
  • Removes destroy() on iOS - this was missed.
  • Removes the stop() method -- use pause() instead.

3.0.0 (11.08.22)

We are changing how the audio service handles its lifecycle. Previously we had the stopWithApp bool that would try and stop the service when you remove the app from recents, but due to how Android handles foreground services the OS never stops the app process, as it's waiting for the foreground service to come back. We are embracing this and going with what other audio apps (Spotify, Soundcloud, Google Podcast etc.) are doing.

Enhancements
  • Rewrite Android module in Kotlin and using KotlinAudio. [mpivchev](
Breaking
  • stopWithApp turns into stoppingAppPausesPlayback
  • destroy() is no longer available
Bug Fixes
  • Fix crash with reset() on Android. dcvz

2.1.3 (30.03.22)

Enhancements
  • Add property isLiveStream to Track for correct display in iOS control center. dcvz

  • [iOS] Improve method documentation alpha0010

  • [Android] Add isServiceRunning method biomancer

Bug Fixes
  • [iOS] Fix track loop crash in certain cases mmmoussa

  • [iOS] Fix seek after play jspizziri

  • [Android] Support Android 12 devices abhaydee

  • [iOS] Add method resolves promise with index formula1

  • Fix getTrack return type puckey

  • [iOS] Fix ambient session not working grubicv

  • [Android] Android 12 and higher bug fix martin-richter-uk

  • [iOS] Update SwiftAudioEx to 0.14.6 to avoid LICENSE warning dcvz

  • Make react-native-windows and optional peer dependency (#1324). jspizziri

2.1.2 (25.10.21)

Enhancements
  • None.
Bug Fixes
  • Update SwiftAudioEx - Fixes issues with flickering notifications + pause between loads

  • Fix cyclic require warning regression #1057

  • [ios] Fix PlaybackQueueEnded event to be called only when the track ends #1243

2.1.1 (25.09.21)

Enhancements
  • [ios] Fix getCurrentTrack returns undefined instead of null
  • [ios] Fix getTrack returning undefined instead of nil
  • Fix an issue with next/previous in the control center stopping playing on iOS15
Bug Fixes
  • None.

2.1.0 (16.09.21)

Enhancements
  • None.
Bug Fixes
  • Remove Support for iOS 10 & Support Xcode 13 dcvz #1186

    • NOTE: Requires minimum deployment target to be updated to iOS 11.
  • Reset initialization on destroy sreten-bild

  • Fix onTaskRemoved NullPointerException Markario

2.0.3 (19.08.21)

Enhancements
  • None.
Bug Fixes
  • Fix Event.PlaybackQueueEnded firing on initialization on Android dcvz #1229

  • Make useProgress unmount aware. lyswhut

  • Make usePlaybackState unmount aware. dcvz

2.0.2 (15.08.21)

Enhancements
  • Import SwiftAudioEx through podspec dcvz
Bug Fixes
  • useProgress hook should update while paused dcvz

2.0.1 (11.08.21)

Enhancements
  • None.
Bug Fixes
  • Add startForeground to onCreate. Bang9 #620 #524 #473 #391

  • Fix compilation of Windows module. dcvz

  • Fix regression in updating artwork on updateMetadata and updateNowPlayingMetadata dcvz #662