In iOS16.1,Live Activity not update data while app in background,my app use AVAudioSessionCategoryPlayback playing music.
If use AVAudioSessionCategoryPlayback, update Live Acitvity is working in foreground, not working in background.
If no AVAudioSessionCategoryPlayback setting, update Live Acitvity is working both background and foreground.
Why? Is it iOS16.1 bug?
Live Activity update not working while AVAudioSessionCategoryPlayback in backgroud
Im also trying to figure this out without success
Same problem..
Same issue. I filed feedback: FB11781760. Anyone have a workaround?
For me help change this:
try audioSession.setCategory(.playback, options: [.mixWithOthers])
To
try audioSession.setCategory(.ambient, options: [.mixWithOthers])
This is fixed on iOS 16.2.
The same problem on iOS 16.2
Still having this issue with iOS 17 and iOS 18 on a real device (works with the simulator). Any solution?
Same issue here. I I change to .ambient mode it allows updates from background, but .ambient mode does not suit my audio needs. iOS 18 still has the same problem.