RN Compatibility
Supported React Native versions on the New Architecture (Fabric)
Migrating from 0.x
Version 1.0 brings the library closer to the Web Audio API specification, moves optional features out of the default build, and cleans up APIs that grew organically during the 0.x releases. This page lists everything you may need to change when upgrading from 0.13.x.
Web Audio API coverage
See which Web Audio API interfaces are supported in React Native Audio API on iOS, Android, and Web, with implementation status and WPT conformance results.
Audio API Expo plugin
What is Audio API Expo plugin
Non-expo app permissions
If your app needs to access non-trivial resources such as microphone or be able to run in the background, there have to be explicit entries about it in special places.
Prebuilt libraries support
react-native-audio-api can link a number of prebuilt third-party libraries that are downloaded at build time. They enable additional decoding and streaming features, but also add several megabytes to the resulting application binary, so each one can be toggled with a build option.
Running with Mac Catalyst
Mac Catalyst allows you to run your iOS apps natively on macOS. This guide covers the necessary changes to your Podfile to enable Mac Catalyst support for your React Native app with react-native-audio-api.
Runtime flags
These helpers let you check at runtime which optional native features are compiled into your app. They are synchronous and safe to call from JavaScript after the library has been installed.
Swift Package Manager (iOS)
Swift Package Manager (SwiftPM) is an experimental alternative to CocoaPods for building React
Testing
React Native Audio API provides a comprehensive mock implementation to help you test your audio-related code without requiring actual audio hardware or platform-specific implementations.