Hi,
I’m having problem to keep playing some audio in background for ios/android.
I tried to turn on : Background modes → Audio, Airplay and Picture in Picture.
So on my info.plist, there is :
UIBackgroundModes
audio
Should i use something else than Audio Source to keep playing music in background?
Apple ressources :
“When the UIBackgroundModes key contains the audio value, the system’s media frameworks automatically prevent the corresponding app from being suspended when it moves to the background. As long as it is playing audio or video content or recording audio content, the app continues to run in the background. However, if recording or playback stops, the system suspends the app.”
I think maybe Unity Pause the AudioSource when enter in background so the system suspend the app.
Thanks.