Prerequisites
Before you begin, ensure you have the following installed:
Node.js (version 17 or later)
React Native (version 0.75 or later)
Expo SDK (version 51 or later)
Xcode (version 13 or later for iOS development)
iOS (version 18 or later)
Installation
npm install expo-ios-sonic-player
yarn add expo-ios-sonic-player
pnpm install expo-ios-sonic-player
Pod Install
cd ios && pod install
Configure Info.plist
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
<string>fetch</string>
</array>
iOS: Enable audio playback in background via your app.json