IOSParams configures the native iOS CallKit integration. Pass an instance to the ios field of CallKitParams.
iOS CallKit only works on a real device. Testing on the simulator will not display the CallKit UI.
Constructor
Fields
Appearance
Name of the image asset inside
Images.xcassets used as the app icon in the CallKit UI. Defaults to CallKitLogo, which must exist in Images.xcassets/CallKitLogo.Call handle
Specifies how the
handle value in CallKitParams is interpreted by CallKit. Accepted values:| Value | Description |
|---|---|
"generic" | Any string identifier (recommended) |
"number" | Phone number |
"email" | Email address |
Call capabilities
Whether the call supports video. When
true, CallKit shows a video icon in the call UI.Whether the call supports DTMF (dial-tone multi-frequency) input — e.g. for phone menu navigation.
Whether the call can be placed on hold.
Whether multiple calls can be grouped together into a call conference.
Whether a grouped call can be split back into individual calls.
Call groups
Maximum number of simultaneous call groups allowed by CallKit. A call group is a set of calls that are handled together (e.g. a conference).
Maximum number of calls within a single call group.
Audio session
Sets the
AVAudioSession mode applied when the call becomes active. Accepted values:nil (default), "gameChat", "measurement", "moviePlayback", "spokenAudio", "videoChat", "videoRecording", "voiceChat", "voicePrompt"Whether to activate the audio session when the call is connected.
Preferred sample rate (Hz) for the
AVAudioSession. Common values: 8000.0, 16000.0, 44100.0, 48000.0.Preferred I/O buffer duration (seconds) for the
AVAudioSession. Lower values reduce latency but increase CPU usage.When
false, the plugin skips automatic AVAudioSession configuration so you can manage it manually (e.g. when using WebRTC’s RTCAudioSession). Defaults to the plugin’s internal behaviour when not set.Ringtone
File name of a ringtone bundled with the Xcode project. Add the file to
/ios/Runner/ and include it in Copy Bundle Resources under Build Phases.The special value system_ringtone_default uses the device’s default ringtone.