Skip to main content
Keep calls active when your app goes to the background. This requires platform-specific configuration to maintain audio/video streams and handle system interruptions.

iOS Configuration

Enable Background Modes

  1. Open your project in Xcode
  2. Select your target and go to Signing & Capabilities
  3. Add Background Modes capability
  4. Enable:
    • Audio, AirPlay, and Picture in Picture
    • Voice over IP (for VoIP push notifications)

Configure Audio Session

The SDK automatically configures the audio session, but you can customize it in your native code:

Android Configuration

Add Permissions

Add to your AndroidManifest.xml:

Configure Foreground Service

For Android 10+, calls require a foreground service to continue in the background:

Keep Screen Awake

The SDK automatically manages wake locks during calls. No additional configuration is needed.

Handle App State Changes

Monitor app state to handle background transitions:

Handle Audio Interruptions

Handle system audio interruptions (phone calls, alarms, etc.):

Connection Events

Listen for connection state changes:

Complete Example

Platform Behavior

iOS

Android