Fix iOS Audio Locked State Timeout

Замовник: AI | Опубліковано: 04.11.2025
Бюджет: 30 $

My React Native (EXPO) app streams MP3 files with expo-video / expo-av and already has “audio” enabled in app.json. On iOS, playback stops 50 seconds after the screen locks, which points to an AVAudioSession that isn’t being kept active. I only need a quick but solid code-level fix: • Locate the exact place where the audio session is configured (or missing) and adjust it so iOS treats the stream as continuous background audio. • Apply the change in a way that works with the managed Expo workflow—no ejecting if it can be avoided. • Test on a real iOS device to confirm audio keeps playing indefinitely while the screen is locked.