react-native-audio-recorder-player
Version:
React Native Audio Recorder and Player.
71 lines (49 loc) • 3.2 kB
Markdown
# react-native-audio-recorder-player
> ⚠️ **DEPRECATED**: This package is deprecated. Please use [react-native-nitro-sound](https://github.com/hyochan/react-native-nitro-sound) instead. Don't worry - it has the exact same API, so migration is seamless!
<img src="Logotype Primary.png" width="70%" alt="Logo" />
[](https://npmjs.org/package/react-native-audio-recorder-player)
[](https://npmjs.org/package/react-native-audio-recorder-player)
[](https://github.com/hyochan/react-native-audio-recorder-player/actions/workflows/ci.yml)
[](https://github.com/hyochan/react-native-audio-recorder-player/actions/workflows/publish-package.yml)

[](https://github.com/prettier/prettier)
[](https://npmjs.org/package/@react-native-seoul/masonry-list)
## Migration to React Native Nitro Sound
This package has been deprecated in favor of [react-native-nitro-sound](https://github.com/hyochan/react-native-nitro-sound), which offers:
- ✅ **Same API** - No code changes required
- ⚡️ **Better Performance** - Optimized with latest Nitro architecture
- 🎯 **Active Maintenance** - Regular updates and bug fixes
- 📱 **Improved Platform Support** - Better iOS, Android, and Web compatibility
### How to Migrate
1. **Uninstall the old package:**
```sh
yarn remove react-native-audio-recorder-player react-native-nitro-modules
# or
npm uninstall react-native-audio-recorder-player react-native-nitro-modules
```
2. **Install the new package:**
```sh
yarn add react-native-nitro-sound
# or
npm install react-native-nitro-sound
```
3. **Update your imports:**
```typescript
// Before
import AudioRecorderPlayer from 'react-native-audio-recorder-player';
// After
import AudioRecorderPlayer from 'react-native-nitro-sound';
```
4. **That's it!** All your existing code will work without any changes.
### Need Help?
- 📖 [Full Documentation](https://github.com/hyochan/react-native-nitro-sound)
- 🐛 [Report Issues](https://github.com/hyochan/react-native-nitro-sound/issues)
- 💬 [Discussions](https://github.com/hyochan/react-native-nitro-sound/discussions)
## Why the Change?
The new `react-native-nitro-sound` package represents a complete rewrite with:
- Modern architecture for better performance
- Cleaner codebase that's easier to maintain
- Better error handling and debugging
- Improved TypeScript support
- More consistent behavior across platforms
Thank you for your support and understanding! 🙏