Skip to content

Latest commit

 

History

History
117 lines (92 loc) · 5.1 KB

CHANGELOG.md

File metadata and controls

117 lines (92 loc) · 5.1 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog.

Unreleased

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

2.0.1 - 2019-06-26

Fixed

  • Fixed iOS linking errors caused by change of folder structure

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

1.0.6 - 2017-11-01

Changed

  • Android: Changed prepare to prepareAsync

Fixed

  • Fix compatibility with React Native 0.47
  • Fix compatibility with React Native 0.48
  • Fix compatibility with React Native 0.49
  • Android: Fix updating playerContinueInBackground
  • Android: Fix a bug when finding audio file
  • Android: Fix compatibility with API level 16 by removing usage of java.util.Objects

1.0.5 - 2016-09-22

Changed

  • Android: By default pause playback if app is sent to background

1.0.4 - 2016-08-26

Fixed

  • iOS: Fix audio events

1.0.3 - 2016-08-17

Added

  • Add Player state diagram to documentation
  • Add recording example to README.md
  • Record prepare() returns filesystem path of file being recorded to

Fixed

  • Missing this in setup example

1.0.2 - 2016-06-25

Added

  • Add description to package.json

1.0.1 - 2016-06-25

Added

  • Add repository to package.json
  • Add error handling to Example App
  • iOS: Send current position at pause

Changed

  • Move documentation from README.md to separate files within docs directory
  • Improve documentation
  • Restructure Player and Recorder into own source files

Fixed

  • Android: Fix seeking, hide debug prints
  • Android: Fix stop bug
  • iOS: Fixed parsing of quality strings

1.0.0 - 2016-06-25

Initial release.