This appears to be working for me now. I'm using iOS 17.5.1. I had to add 'audio' to the UIBackgroundModes audio setting in Info.plist and then background audio would work the same as Safari. Without this setting it behaved as described, audio would cutout as soon at the app goes in the background.