React Native Audio Toolkit Versions Save

Cross-platform audio library for React Native

v2.0.3

4 years ago

2.0.3 - 2020-03-23

Added

  • Add Player option mixWithOthers
  • iOS: Add ability to override audio session category

Changed

  • Android: Remove unneeded references to Android support library, improving Android X support

Fixed

  • iOS: Made linking to RCTBridgeModule.h more robust
  • iOS: Fixed podspec not using right Git tag string

v2.0.2

4 years ago

2.0.2 - 2019-07-09

Added

  • Cocoapods support

Changed

  • Add more specific error strings to TypeScript error types

Fixed

  • Android: Fix Gradle warning related to defining the targetSdk within the AndroidManifest.xml

v2.0.1

4 years ago

2.0.1 - 2019-06-26

Fixed

  • Fixed iOS linking errors caused by change of folder structure

v2.0.0

4 years ago

2.0.0 - 2019-06-26

BREAKING CHANGES

  • Changed npm package name from react-native-audio-toolkit to @react-native-community/audio-toolkit and changed Android namespace from com.futurice.rctaudiotoolkit to com.reactnativecommunity.rctaudiotoolkit. These changes require users to reinstall and re-link the library to update to this version. This can be done manually or automatically during the update process via:
    react-native unlink react-native-audio-toolkit
    npm uninstall --save react-native-audio-toolkit
    npm install --save @react-native-community/audio-toolkit
    react-native link @react-native-community/audio-toolkit
    
  • Android: Remove permissions from library AndroidManifest and instead require users to add them. See SETUP.md and PR #148 for more details

Added

  • Add Typescript typings
  • Add ability to set playback speed for audio player
  • Add ability to pause a Recorder
  • Android: Add ability to record to AAC
  • iOS: Added possibility to record from Bluetooth microphone

Changed

  • Specify exactly which files to include in npm package
  • Only import specific items from lodash to keep build size down
  • Android: build.gradle will use SDK version settings of the root project, if available
  • iOS: Buffer up to 10 seconds of audio before beginning playback

Fixed

  • Fixed some incorrect examples in the documentation
  • Android: Guard against possible exceptions while parsing stack trace
  • Android: Guard against exceptions that can appear in onHostPause
  • Android: Fix build error related to defining android:minSdkVersion in the library's AndroidManifest
  • Android: Fix crash on devices running API level 22 or earlier
  • iOS: Fix Player.pause() not setting PAUSED state