Releases: zmxv/react-native-sound
Releases · zmxv/react-native-sound
v0.11.2
v0.11.1
v0.10.11
v0.10.10
A well needed release
This is a loaded release. They are many fixes and new features.
Here's just a sample of the fixes and features in this release.
- Loaded Flag changes by @gvenk 1b59916
- Support for iTunes Asset URL by @kurokky 9f5d1ba
- new method
getDuration
by @tiendn ea53015 - Now support React-Native
0.48
. Thanks, @SimonRobinson 1df58da - Allow setting the audio stream type for sounds on Android. Thanks @jkimbo 2eb25e6
- Fix a premature collection of MediaPlayer on Android. Thanks, @jamesreggio 1227d55
- Android setCategory. Thanks, @jkimbo a6ca0d2
- Pause/resume when I pull out the headphones or receive an incoming call. Thanks, @kurokky ab7389c
- Use a hash function to compute key based on file name. Thanks, @varungupta85 42f3295
Other fixes from
v0.10.4
v0.10.2
- Added typescript typings (#192)
- Added callbacks to stop and pause, because the RN bridge is asynchronous (#167)
Windows
- Added the ability to configure "SMTC integration" for Windows apps. (#183)
Android
- Catch IllegalStateException when trying to play file-based audio (#205)
- Preventing crash due to illegal callback invocation (#202)
- Add method to turn on speakers in android (#194)
iOS
- iOS: Fix download of remote files (#200)
Check out the various audio files and locations supported using https://github.com/zmxv/react-native-sound-demo.
v0.10.1
v0.10.0
- Fix race conditions in onCompletion and onError (#154)
- Fix crash in audioPlayerDidFinishPlaying when callback is called multiple times, by adding a mutex with @synchronized (#153)
- Added support to remote files (#141) for Android
- Update iOS/Android supported audio formats reference links (#142)
- Preprocessor if fix for tvOS (#137)
- Adding React dependency to podspec (#135)
- First support for Window platform (#133)
- Sound.prototype.play calls onEnd if sound isn't yet loaded (#123)
v0.9.0
iOS
- Library is now compatible with React Native 0.40 and up. It retains compatibility with older versions that were supported previously.
- Add
mixWithOthers
option to setCategory so that app can optionally mix audio with that from other apps - Add
setSpeed
method for controlling playback rate - (Optional) Audio files can be accessed via
require('./audio.mp3)
. Works in debug and release modes. Not supported in Android yet.
Android
- Stopping now resets to the start and pauses (#53)