diff --git a/mobile/plugins/native-call/NativeCall.podspec b/mobile/plugins/native-call/NativeCall.podspec index 8a06320..c274b48 100644 --- a/mobile/plugins/native-call/NativeCall.podspec +++ b/mobile/plugins/native-call/NativeCall.podspec @@ -17,6 +17,10 @@ Pod::Spec.new do |s| s.source_files = 'ios/Sources/**/*.{swift,h,m}' s.ios.deployment_target = '14.0' s.dependency 'Capacitor' + # LiveKit iOS SDK — carries the call media NATIVELY so audio survives backgrounding AND coordinates with + # CallKit's audio session (AudioManager.setEngineAvailability on didActivate/didDeactivate), which the + # WebView's WebRTC could not do. Pulls in the WebRTC binary transitively. + s.dependency 'LiveKitClient', '~> 2.0' # CallKit + PushKit + AVFoundation are system frameworks (no external pod). s.frameworks = 'CallKit', 'PushKit', 'AVFoundation' s.swift_version = '5.1'