Fix Expo Background Audio

Job ID: 39961260

Budget: $10 – $30 USD

My React-Native app (Expo SDK 54, using expo-av / expo-video) streams MP3 files just fine—until the iPhone screen locks. About 50 seconds later iOS suspends playback. I’m convinced the underlying AVAudioSession isn’t being kept in the right state.

Here’s what I need:

• Identify the exact spot in my codebase—or the missing configuration—where the audio session should be set so iOS recognises the stream as continuous background audio.
• Apply the smallest possible change that works inside the managed Expo workflow; I’d like to avoid ejecting.
• Test the fix on a physical iOS device and prove that audio now plays indefinitely with the screen locked (video of the test or Xcode console logs are fine).
• Supply the code snippet or pull-request-ready edit plus a brief explanation so I can reproduce it on other branches.

No other audio features are required beyond uninterrupted background playback. I’ve already enabled `"audio"` in app.json; everything else is running smoothly.

If you’ve solved this exact problem before, I’m looking for a swift, solid patch I can drop straight into the repo.