When the app goes background during a livekit running call, it is killed by os after a few seconds even though Audio, AirPlay, and Picture in Picture background mode is added to the Capabilities tab of app target in Xcode. Anyone else faced this issue? What might be the problem and what is the solutions? (PiP support is not implemented in app)
I can only find this info on the Flutter Quickstart:
But did you set:
Camera and microphone usage need to be declared in your
Info.plistfile.<dict> ... NSCameraUsageDescription $(PRODUCT_NAME) uses your camera NSMicrophoneUsageDescription $(PRODUCT_NAME) uses your microphone ... </dict>Your application can still run a voice call when it is switched to the background if the background mode is enabled. Select the app target in Xcode, click the Capabilities tab, enable Background Modes, and check Audio, AirPlay, and Picture in Picture.
Your
Info.plistshould have the following entries:<key>UIBackgroundModes</key> <array> audio </array>