AndroidParams controls the appearance and behaviour of the custom incoming call UI and notifications on Android. Pass an instance to the android field of CallKitParams.
Constructor
Fields
Notification style
When
true, the plugin renders a fully custom notification layout instead of the system default. Recommended for a consistent look across all Android versions.When
true, uses a compact custom notification layout on devices where the standard custom notification is clipped. Enable this as a fallback if isCustomNotification content is cut off on certain devices.Branding and visuals
When
true, displays the app logo inside the full-screen incoming call UI. The logo image must be placed at /android/app/src/main/res/drawable-xxxhdpi/ic_logo.png.URL or asset path of the logo image shown inside the full-screen UI. Accepts
http://..., https://..., or assets/path/to/image.png. Only used when isShowLogo is true.When
true, displays the call id (UUID) inside both the full-screen UI and the notification.Background color of the full-screen incoming call UI. Accepts a hex color string (e.g.
"#0955fa").Image shown as the background of the full-screen incoming call UI. Accepts
http://..., https://..., or assets/path/to/image.png. When set, this takes visual precedence over backgroundColor.Hex color applied to action buttons and text inside the notification (e.g. Accept / Decline button labels).
Hex color applied to text displayed in the full-screen incoming call UI.
Ringtone
File name (without extension) of the ringtone played for incoming calls. Place the audio file at
/android/app/src/main/res/raw/<name>.mp3.The special value system_ringtone_default plays the device’s default ringtone.Notification channels
Android notification channel name used for incoming call notifications. Displayed to the user in system notification settings.
Android notification channel name used for missed call notifications. Displayed to the user in system notification settings.
Lock screen and priority
When
true, the full-screen incoming call UI is shown on the lock screen. On Android 14+ you must also call requestFullIntentPermission and canUseFullScreenIntent to ensure the permission is granted.Marks the caller as important to the device user, based on interaction frequency. Maps to the
isImportant field of Android’s Person API. Affects notification ranking.