I tried the example app on a real iPhone device. When I switch the phone off audio stops playing. When I switch it on again it continue playing.
Do you have any hints?
I added audio to the UIBackgroundModes in the example/ios/Runner/Info.plist but it doesn't fixed the issue.