react-native-sound

React Native module for playing sound clips

MIT License

Downloads
633.2K
Stars
2.8K
Committers
100

Bot releases are visible (Hide)

react-native-sound - v0.11.2 Latest Release

Published by zmxv almost 3 years ago

react-native-sound - v0.11.1

Published by zmxv about 3 years ago

react-native-sound - v0.10.11

Published by zmxv over 5 years ago

react-native-sound - v0.10.10

Published by zmxv over 5 years ago

react-native-sound - A well needed release

Published by trepidity over 6 years ago

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

  • @amikofalvy
  • @akantsevoi
react-native-sound - v0.10.4

Published by trepidity about 7 years ago

Add typescript definitions for set speaker phone on (#207)

IOS

  • Add Sound.setActive and Sound.setMode for iOS AVAudioSession support (#234)
  • Fix link to iOS audio categories

General Fixes

  • Fix breaking changes in React Native 0.47
react-native-sound - v0.10.2

Published by benvium over 7 years ago

  • 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.

react-native-sound - v0.10.1

Published by benvium over 7 years ago

Android & iOS

  • Fix callback crashes - Guarantee that the RN callback is only ever called once (#168)

Android

  • Implementing setSpeed for android (#169)
  • Remove player.prepare (#162)
react-native-sound - v0.10.0

Published by benvium over 7 years ago

  • 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)
react-native-sound - v0.9.0

Published by benvium over 7 years ago

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)
react-native-sound - v0.8.3

Published by zmxv over 8 years ago

  • Bug fixes
react-native-sound - v0.8.1

Published by zmxv over 8 years ago

  • Support for alternative directories on Android
  • Compatibility fixes
react-native-sound - v0.7.2

Published by zmxv almost 9 years ago

More Android features:

  • volume control
  • looping
  • get/setCurrentTime
  • getDuration
react-native-sound - v0.6.0

Published by zmxv almost 9 years ago

Add basic audio playback support for Android

  • Load sound from app bundle
  • Play
  • Pause
  • Resume
  • Stop
  • Release
react-native-sound - v0.5.0

Published by zmxv almost 9 years ago

  • volume control
  • pan control
  • loop control
  • playback time control