3.2.0 (2022-09-23)
- 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)
- 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)
- Uses latest KotlinAudio which does not use ExoPlayer fork.
- Adds back support for bluetooth playback control.
- Fixes crash with
reset()
on Android. - Removes
destroy()
on iOS - this was missed. - Removes the
stop()
method -- usepause()
instead.
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.
- Rewrite Android module in Kotlin and using KotlinAudio. [mpivchev](
- stopWithApp turns into stoppingAppPausesPlayback
destroy()
is no longer available
- Fix crash with
reset()
on Android. dcvz
-
Add property
isLiveStream
toTrack
for correct display in iOS control center. dcvz -
[iOS] Improve method documentation alpha0010
-
[Android] Add isServiceRunning method biomancer
-
[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
- None.
-
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
- [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
- None.
- None.
-
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
- None.
-
Fix
Event.PlaybackQueueEnded
firing on initialization on Android dcvz #1229 -
Make
useProgress
unmount aware. lyswhut -
Make
usePlaybackState
unmount aware. dcvz
- Import SwiftAudioEx through podspec dcvz
useProgress
hook should update while paused dcvz
- None.