All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
2.0.3 - 2020-03-23
- Add Player option mixWithOthers
- iOS: Add ability to override audio session category
- Android: Remove unneeded references to Android support library, improving Android X support
- iOS: Made linking to RCTBridgeModule.h more robust
- iOS: Fixed podspec not using right Git tag string
2.0.2 - 2019-07-09
- Cocoapods support
- Add more specific error strings to TypeScript error types
- Android: Fix Gradle warning related to defining the targetSdk within the AndroidManifest.xml
2.0.1 - 2019-06-26
- Fixed iOS linking errors caused by change of folder structure
2.0.0 - 2019-06-26
- Changed npm package name from
react-native-audio-toolkit
to@react-native-community/audio-toolkit
and changed Android namespace fromcom.futurice.rctaudiotoolkit
tocom.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
- 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
- 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 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 settingPAUSED
state
1.0.6 - 2017-11-01
- Android: Changed prepare to prepareAsync
- 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
- Android: By default pause playback if app is sent to background
1.0.4 - 2016-08-26
- iOS: Fix audio events
1.0.3 - 2016-08-17
- Add Player state diagram to documentation
- Add recording example to README.md
- Record
prepare()
returns filesystem path of file being recorded to
- Missing
this
in setup example
1.0.2 - 2016-06-25
- Add description to package.json
1.0.1 - 2016-06-25
- Add repository to package.json
- Add error handling to Example App
- iOS: Send current position at pause
- Move documentation from README.md to separate files within docs directory
- Improve documentation
- Restructure Player and Recorder into own source files
- Android: Fix seeking, hide debug prints
- Android: Fix stop bug
- iOS: Fixed parsing of quality strings
Initial release.